Flatpak: flatpak: arbitrary write access as root via extra-data extraction
Impact
A malicious or compromised Flatpak repository can write attacker-controlled content to arbitrary locations on the host filesystem via extract_extra_data(). 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.
Source excerpt · redhatWhat to do
Avoid installing Flatpak extensions from non-trusted sources.
Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
Red Hat · Red Hat Enterprise Linux 10
Other versions: affected
| Version / range | Source status |
|---|---|
| 0:1.16.0-9.el10_2.4 to before * | unaffected |
Red Hat · Red Hat Enterprise Linux 8
Other versions: affected
| Version / range | Source status |
|---|---|
| 0:1.12.9-7.el8_10 to before * | unaffected |
Red Hat · Red Hat Enterprise Linux 9
Other versions: affected
| Version / range | Source status |
|---|---|
| 0:1.12.9-4.el9_8.4 to before * | unaffected |
Red Hat · Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
Other versions: affected
| Version / range | Source status |
|---|---|
| 0:1.12.9-3.el9_4.5 to before * | unaffected |
Red Hat · Red Hat Enterprise Linux 9.6 Extended Update Support
Other versions: affected
| Version / range | Source status |
|---|---|
| 0:1.12.9-4.el9_6.5 to before * | unaffected |
Red Hat · Red Hat Enterprise Linux 7
Other versions: affected
| Version / range | Source status |
|---|
Original source description
A malicious or compromised Flatpak repository can write attacker-controlled content to arbitrary locations on the host filesystem via extract_extra_data(). 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.
References
- Source reference access.redhat.com/errata/RHSA-2026:80497
- Source reference access.redhat.com/errata/RHSA-2026:80498
- Source reference access.redhat.com/errata/RHSA-2026:80687
- Source reference access.redhat.com/errata/RHSA-2026:89733
- Source reference access.redhat.com/errata/RHSA-2026:90364
- Security advisory access.redhat.com/security/cve/CVE-2026-96275
- Source reference bugzilla.redhat.com/show_bug.cgi
- Security advisory github.com/flatpak/flatpak/security/advisories/GHSA-fqx6-vh4p-42cg