CVE-2026-86320

NameCVE-2026-86320
DescriptionA flaw was found in flatpak-builder where Git hooks are not disabled when applying patch sources with use-git-am: true. An attacker who can provide a malicious source containing a Git post-applypatch hook can cause the hook to execute on the host during the build process, resulting in arbitrary code execution with the privileges of the user running flatpak-builder.
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)
Debian Bugs1147700

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
flatpak-builder (PTS)bookworm1.2.3-1vulnerable
trixie1.4.4-2vulnerable
forky, sid1.4.12-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
flatpak-buildersource(unstable)1.4.11-11147700

Notes

[trixie] - flatpak-builder <no-dsa> (Minor issue)
[bookworm] - flatpak-builder <postponed> (Minor issue)
https://github.com/flatpak/flatpak-builder/security/advisories/GHSA-j5p8-jgjc-f3xv

Search for package or bug name: Reporting problems