CVE-2026-96275: Flatpak: flatpak: arbitrary write access as root via extra-data extraction

Published Sep 23, 2026
·
Updated

A malicious or compromised Flatpak repository can write attacker-controlled content to arbitrary locations on the host filesystem via extractextradata(). On system installs, the write happens as root. Two issues combine: files/extra is resolved via path operations that follow symlinks, and blob names from xa.extra-data-sources are not sanitized against .. traversal.

Other sources

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 extractextradata. 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, extractextradata writes downloaded blobs to files/extra/<name> where <name> comes from xa.extra-data-sources in the commit metadata; gfilegetchild 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.

Red Hat

Affected Software

1 affected component
Flatpak Flatpak<1.18.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade flatpak to a version that resolves this vulnerability.

    Fixed in 1.18.1

Event History

Sep 23, 2026
Data Sourced
via Red Hat·02:01 PM
DescriptionSeverityAffected Software
CVE Published
via MITRE·03:01 PM
Data Sourced
via MITRE·03:01 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Systems that install content from a malicious or compromised Flatpak repository are exposed. System-wide installs are particularly severe because the arbitrary write occurs as root.

2

What must an attacker control to exploit it?

The attacker needs control of repository content or metadata used during extra-data extraction. Exploitation relies on a symlinked files entry in the OSTree commit and/or traversal sequences such as .. in xa.extra-data-sources blob names.

3

What filesystem locations can be affected?

Attacker-controlled content can be written to arbitrary host filesystem locations. A files symlink can redirect writes outside the checked-out commit tree, while .. components in blob names can traverse outside files/extra.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203