Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-39977

published high CVSS 4.0 · 7.1

flatpak-builder has a path traversal leading to arbitrary file read on host when installing licence files

Published
09 Apr 2026, 19:05:23 UTC
Updated
09 Apr 2026, 20:19:28 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
flatpak — flatpak-builder>= 1.4.5, < 1.4.8 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE openSUSE-Tumbleweed flatpak-builderaarch64 Advisory build 1.4.8-1.1 OPENSUSE-SU-2026:10590-1
SUSE / openSUSE openSUSE-Tumbleweed flatpak-builderppc64le Advisory build 1.4.8-1.1 OPENSUSE-SU-2026:10590-1
SUSE / openSUSE openSUSE-Tumbleweed flatpak-builders390x Advisory build 1.4.8-1.1 OPENSUSE-SU-2026:10590-1
SUSE / openSUSE openSUSE-Tumbleweed flatpak-builderx86_64 Advisory build 1.4.8-1.1 OPENSUSE-SU-2026:10590-1

Description

flatpak-builder is a tool to build flatpaks from source. From 1.4.5 to before 1.4.8, the license-files manifest key takes an array of paths to user defined licence files relative to the source directory of the module. The paths from that array are resolved using g_file_resolve_relative_path() and validated to stay inside the source directory using two checks - g_file_get_relative_path() which does not resolve symlinks and g_file_query_file_type() with G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS which only applies to the final path component. The copy operation runs on host. This can be exploited by using a crafted manifest and/or source to read arbitrary files from the host and capture them into the build output. This vulnerability is fixed in 1.4.8.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
7.1 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
flatpak flatpak-builder >= 1.4.5, < 1.4.8 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (GitHub_M · cna)

References

1

Provider assertions

2

GitHub_M · cna

flatpak-builder has a path traversal leading to arbitrary file read on host when installing licence files

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
89ee4d6d2b245809aa442d17d24cc2c311ce56d55ec75d7659ce0d7cd6b38526
Ingested
23 Sep 2026, 09:12:25 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected