CVE-2026-133842

high
EUVD alias: EUVD-2026-137056
Assigned by CNA: redhat
Published 2026-11-27 · Modified 2026-11-30
CVSS v3
8.2
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4 NEW
—
not yet in upstream
VIR risk
8.2

Description

A flaw was found in Flatpak’s flatpak-system-helper. When a system-wide app, runtime, or extension uses the extra-data mechanism and its apply_extra logic creates a deeply nested directory tree, permission canonicalization can fail (for example with EMFILE). Affected Flatpak versions can still report success without clearing setuid/setgid bits, leaving a setuid-root executable under /var/lib/flatpak. A local attacker who can install or update such content system-wide, or who can already execute code as a local user in cooperation with that content, can escalate privileges to root.

Predictions

Exploit likelihood
78%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker · View original ↗ · DFSG

CVE-2026-133842 NameCVE-2026-133842 DescriptionA flaw was found in Flatpak’s flatpak-system-helper. When a system-wide app, runtime, or extension uses the extra-data mechanism and its apply_extra logic creates a deeply nested directory tree, permission canonicalization can fail (for example with EMFILE). Affected Flatpak versions can still report success without clearing setuid/setgid bits,…

CVE-2026-133842

NameCVE-2026-133842
DescriptionA flaw was found in Flatpak’s flatpak-system-helper. When a system-wide app, runtime, or extension uses the extra-data mechanism and its apply_extra logic creates a deeply nested directory tree, permission canonicalization can fail (for example with EMFILE). Affected Flatpak versions can still report success without clearing setuid/setgid bits, leaving a setuid-root executable under /var/lib/flatpak. A local attacker who can install or update such content system-wide, or who can already execute code as a local user in cooperation with that content, can escalate privileges to root.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6655-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
flatpak (PTS)bookworm, bookworm (security)1.14.10-1~deb12u2vulnerable
trixie1.16.6-1~deb13u3vulnerable
trixie (security)1.16.6-1~deb13u4fixed
forky, sid1.18.6-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
flatpaksourcetrixie1.16.6-1~deb13u4DSA-6655-1
flatpaksource(unstable)1.18.6-1

Notes

https://github.com/flatpak/flatpak/security/advisories/GHSA-p4mw-6jfq-r82r
Fixed by: https://github.com/flatpak/flatpak/commit/d087606b9a041f3b0debe44a9b9c3beab28b6e6c (1.18.5)
Fixed by: https://github.com/flatpak/flatpak/commit/a21a102e10d63da3251421b17a60b977e6c4b5c8 (1.18.5)
Tests: https://github.com/flatpak/flatpak/commit/2988601140bf8484cf256b66c48b254466a81107 (1.18.5)
Tests: https://github.com/flatpak/flatpak/commit/ab4a20d543109684de44a75df13ada9b1d69e149 (1.18.5)

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
https://github.com/flatpak/flatpak/security/advisories/GHSA-p4mw-6jfq-r82rFixed by: https://github.com/flatpak/flatpak/commit/d087606b9a041f3b0debe44a9b9c3beab28b6e6c (1.18.5)Fixed by: https://github.com/flatpak/flatpak/commit/a21a102e10d63da3251421b17a60b977e6c4b5c8 (1.18.5)Tests: https://github.com/flatpak/flatpak/commit/2988601140bf8484cf256b66c48b254466a81107 (1.18.5)Tests: https://github.com/flatpak/flatpak/commit/ab4a20d543109684de44a75df13ada9b1d69e149 (1.18.5)

OS impact

debian Debian Mixed 4 releases
VersionPackageStatusFixed in
trixie flatpak Fixed 1.16.6-1~deb13u4
sid flatpak Fixed 1.18.6-1
forky flatpak Fixed 1.18.6-1
bookworm flatpak Affected —
alpine Alpine Fixed 1 release
VersionPackageStatusFixed in
v3.24 flatpak Fixed 1.16.6_git20261120-r0
suse SUSE Tracked 1 release
VersionPackageStatusFixed in
— — Unknown —

References

CWEs

CWE-281

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.