Bug 2539417 (CVE-2026-96279) - CVE-2026-96279 flatpak: flatpak: Path traversal issue in OCI archive extraction via hardlinks
Summary: CVE-2026-96279 flatpak: flatpak: Path traversal issue in OCI archive extracti...
Keywords:
Status: NEW
Alias: CVE-2026-96279
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-23 14:01 UTC by OSIDB Bzimport
Modified: 2026-09-27 19:48 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:53 UTC
GHSA-9rww-v4mm-x4jg (https://github.com/flatpak/flatpak/security/advisories/GHSA-9rww-v4mm-x4jg)

Description: When extracting OCI layer archives, Flatpak rebases archive entry pathnames to the destination directory using g_build_filename, and sets ARCHIVE_EXTRACT_SECURE_NODOTDOT to reject .. components in both pathnames and hardlink targets. However, hardlink targets were not rebased to the destination directory. A crafted archive entry with an absolute hardlink target (e.g. /etc/shadow) causes libarchive to call link() with that path directly, hardlinking the host file into the extraction directory and making its contents readable. An attacker controlling an OCI registry can serve a crafted layer archive that exploits this during flatpak install or flatpak update.

Mitigation: Only install applications from trusted OCI registries. Flatpak remotes using the default OSTree transport are not affected. Versions 1.16.x and older are not believed to be vulnerable (introduced in 1.17.0). Fixed in 1.18.1. Reported by @swick.


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