CVE-2026-39977
mediumpriority · track · 25EPSS 0.003 · 21 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.9–7.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (4)
External citations — patches, advisories, analysis.
- https://github.com/flatpak/flatpak-builder/releasesPatchcnnvd
- https://github.com/flatpak/flatpak-builder/security/advisories/GHSA-6gm9-3g7m-3965cnnvd
- https://github.com/flatpak/flatpak-builder/security/advisories/GHSA-6gm9-3g7m-3965enisa_euvd
- https://github.com/flatpak/flatpak-builder/security/advisories/GHSA-6gm9-3g7m-3965ExploitVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan