Skip to main content

Flatpak EUVDEUVD-2026-21045

| CVE-2026-39977 HIGH
Path Traversal (CWE-22)
2026-04-09 GitHub_M
7.1
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious license-files manifest entry
  2. Exploit
    Exploit symlink following in path validation
  3. Execution
    Traverse outside source directory
  4. Impact
    Read arbitrary host files

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires flatpak-builder versions 1.4.5 through 1.4.7. Attacker must craft a malicious flatpak manifest with symlink traversal in the license-files array to escape source directory validation. Victim must build the crafted manifest using flatpak-builder.

Impact

Path traversal via symlink bypass in manifest file handling allows unauthenticated attackers to read arbitrary host files during flatpak builds. CVSS 7.1 reflects high confidentiality impact with network accessibility and user interaction requirement. EPSS data unavailable; however, CISA SSVC indicates partial technical impact with non-automatable exploitation, suggesting limited real-world blast radius despite affecting build infrastructure.

Exploit ScenarioDerived

Attacker crafts malicious flatpak manifest with symlink-based path traversal in license-files array (e.g., symlink → /etc/passwd). flatpak-builder resolves path using g_file_resolve_relative_path(), bypasses validation via g_file_query_file_type() NOFOLLOW check on intermediate symlinks, copies arbitrary host file into build output. Requires manifest submission and user build initiation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 09, 2026

Path traversal in flatpak-builder 1.4.5 through 1.4.7 enables arbitrary host file exfiltration through license-files manifest exploitation. Attacker-crafted manifest with symlink manipulation bypasses g_file_get_relative_path() and g_file_query_file_type() validation, allowing reads outside source directory. Successful exploitation requires user interaction (processing malicious manifest) but grants unauthenticated remote attackers high confidentiality impact with no authentication required. Publicly available exploit code exists. CVSS 7.1 reflects network vector with user participation prerequisite.

RemediationAI

Vendor-released patch: upgrade to flatpak-builder version 1.4.8 immediately. This release implements corrected symlink validation logic preventing path traversal during license file resolution. No workarounds exist that preserve full functionality; organizations unable to upgrade should disable processing of untrusted flatpak-builder manifests and restrict manifest sources to verified internal repositories only. Validate all license-files entries before build execution in high-security environments. Full technical details and remediation guidance: https://github.com/flatpak/flatpak-builder/security/advisories/GHSA-6gm9-3g7m-3965

Affected VersionsENISA

flatpak-builder 1.4.5, < 1.4.8

Affected Packages

euvd flatpak_builder_1_4_5 fix: 1.4.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Root cause: incomplete symlink validation in license-files path resolution. g_file_resolve_relative_path() resolves symlinks before g_file_get_relative_path() boundary check executes, while G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS only protects final component. Attacker chains intermediate symlinks to escape source directory containment during host-side copy operations, exploiting CWE-22 improper limitation of pathname.

Know when Flatpak gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.1 HIGH
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
SUSE 6.3 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Red Hat 5.5 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 06:00 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
1.4.8
CVE Published
Apr 09, 2026 - 19:05 nvd
HIGH 7.1

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A path traversal vulnerability in flatpak-builder versions 1.4.5-1.4.7 allows attackers to extract arbitrary files from the host system when users process malicious build manifests, compromising confidentiality of sensitive data. Organizations using flatpak-builder for application packaging face direct risk of credential, configuration, and source code disclosure if developers interact with untrusted manifests.

Business Impact: High
Compensating Controls

Vendor-released patch: flatpak-builder 1.4.8 or later. Until patched: restrict processing of build manifests to internally-controlled sources only; disable flatpak-builder on systems not actively used for trusted application packaging; implement file access logging on hosts running affected versions to detect exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2026-34078 CRITICAL
9.3 Apr 07

Sandbox escape in Flatpak versions prior to 1.16.4 allows applications to access arbitrary host filesystem paths and ach

CVE-2019-10063 CRITICAL
9.0 Mar 26

Flatpak before 1.0.8, 1.1.x and 1.2.x before 1.2.4, and 1.3.x before 1.3.1 allows a sandbox bypass. Rated critical sever

CVE-2026-55888 HIGH
8.8 Oct 23

Arbitrary file write outside the sandbox is possible through the FileChooser.SaveFiles portal method in xdg-desktop-port

CVE-2026-94422 HIGH
8.7 Sep 23

Message-filtering bypass in xdg-dbus-proxy before 0.1.9 lets a malicious or already-compromised sandboxed application -

CVE-2021-21261 HIGH
8.8 Jan 14

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. Rated high severity

CVE-2018-6560 HIGH
8.8 Feb 02

In dbus-proxy/flatpak-proxy.c in Flatpak before 0.8.9, and 0.9.x and 0.10.x before 0.10.3, crafted D-Bus messages to the

CVE-2026-34079 HIGH
8.7 Apr 07

Arbitrary file deletion in Flatpak versions prior to 1.16.4 allows sandboxed applications to delete files on the host sy

CVE-2026-55889 HIGH
8.3 Oct 23

Predictable FileTransfer tokens in XDG Desktop Portal let a malicious sandboxed application redirect drag-and-drop and c

CVE-2021-21381 HIGH
8.2 Mar 11

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. Rated high severity

CVE-2019-8308 HIGH
8.2 Feb 12

Flatpak before 1.0.7, and 1.1.x and 1.2.x before 1.2.3, exposes /proc in the apply_extra script sandbox, which allows at

CVE-2017-9780 HIGH
7.8 Jun 21

In Flatpak before 0.8.7, a third-party app repository could include malicious apps that contain files with inappropriate

CVE-2021-41133 HIGH
7.8 Oct 08

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. Rated high severity

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Development Tools 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP7 Fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy