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.
Conclusion & alert: CVE-2026-39977 is rated Exploit Available (50.8/100): CVSS High severity, with low exploitation likelihood (EPSS 0.29%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.02% | 0.29% | +0.26% |
| 2 | 2026-04-17 | 0.06% | 0.02% | -0.04% |
| 3 | 2026-04-15 | — | 0.06% | — |
Full EPSS history (4 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.1 | 4.0 | HIGH |
|
— | — | [email protected] |
| 6.3 | 3.1 | MEDIUM |
|
1.8 | 4.0 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2026-39977: 1 source package rows (flatpak-builder); 4 state rows across 2 repos (3.23-community, edge-community); fixed 0, open 4. | https://security.alpinelinux.org/vuln/CVE-2026-39977 |
debian
|
unimportant | CVE-2026-39977 unimportant priority: Debian including 1 source packages (flatpak-builder), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2026-39977 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2026-39977 |
suse
|
medium | CVE-2026-39977 severity moderate: SUSE including 1 source package names (flatpak-builder), 14 product×package rows across 14 product lines (SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, … (14 product lines)): Known Not Affected 14. | https://www.suse.com/security/cve/CVE-2026-39977/ |
ubuntu
|
medium | CVE-2026-39977 medium priority: Ubuntu including 1 source packages (flatpak-builder), 7 status rows across 7 suites (bionic, focal, jammy, noble, questing, resolute, upstream): not-affected 4, released 2, needed 1. | https://ubuntu.com/security/CVE-2026-39977 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| flatpak | flatpak-builder | >= 1.4.5, < 1.4.8 | cpe:2.3:a:flatpak:flatpak-builder:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/flatpak/flatpak-builder/security/advisories/GHSA-6gm9-3g7m-3965 | Exploit Vendor Advisory |