Bug 2539416 (CVE-2026-96275) - CVE-2026-96275 flatpak: flatpak: Arbitrary write access as root via extra-data extraction
Summary: CVE-2026-96275 flatpak: flatpak: Arbitrary write access as root via extra-dat...
Keywords:
Status: NEW
Alias: CVE-2026-96275
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-23 14:01 UTC by OSIDB Bzimport
Modified: 2026-09-23 14:54 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-23 14:01:47 UTC
GHSA-fqx6-vh4p-42cg (https://github.com/flatpak/flatpak/security/advisories/GHSA-fqx6-vh4p-42cg)

Impact: A malicious or compromised Flatpak repository can write attacker-controlled content to arbitrary locations on the host filesystem. On system installs, the write happens as root.

Description: There are two vulnerabilities in extract_extra_data. It resolves files/extra inside the checked-out commit tree using GFile path operations, which follow symlinks. If the files entry in the OSTree commit is a symlink (e.g., files -> /tmp), the downloaded extra-data blobs are written at the symlink target instead. Additionally, extract_extra_data writes downloaded blobs to files/extra/<name> where <name> comes from xa.extra-data-sources in the commit metadata; g_file_get_child resolves .. components, so a name like ../metadata escapes the extra/ directory.

Fixed in 1.18.1 (backports available for 1.16.x). Found by @swick after investigating a report from AISLE in cooperation with Red Hat.


Note You need to log in before you can comment on or make changes to this bug.