Flatpak-builder: host code execution via `git am` hook execution in patch source extraction (`use-git-am`)
Historical advisory recorded 11 Nov 2026 13:57:25 UTC. Read the latest advisory.
cve-program · CVE-2026-86320
PublishedA 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.
Read the publisher's advisoryAffected versions, risk and source history
cve-program · CVE-2026-86320
PublishedFlatpak-builder: host code execution via `git am` hook execution in patch source extraction (`use-git-am`)
A 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.
- Source published
- 17 Sep 2026 07:27:33 UTC
- Source modified
- 11 Nov 2026 12:38:37 UTC
- Saved here
- 11 Nov 2026 13:57:25 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H