Flatpak-builder: host code execution via `git am` hook execution in patch source extraction (`use-git-am`)
CVE-2026-86320 · published 17 Sept 2026
How serious is it
- Severity: high, CVSS score 7.8 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2026-86320?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support
How to check
- Find out whether you run the affected product and which version, then compare it with the versions above.
How to fix
Copies a prompt for Claude Code, Cursor or Codex that asks it to check whether you run this product.
- Apply the vendor's update or mitigation from the references below. If there is none yet, limit exposure of the affected service until there is.
- If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
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.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- access.redhat.com/errata/RHSA-2026:80495
- access.redhat.com/errata/RHSA-2026:80496
- access.redhat.com/errata/RHSA-2026:80973
- access.redhat.com/errata/RHSA-2026:84832
- access.redhat.com/errata/RHSA-2026:84833
- access.redhat.com/errata/RHSA-2026:84834
- access.redhat.com/errata/RHSA-2026:84842
- access.redhat.com/errata/RHSA-2026:86714
- access.redhat.com/security/cve/CVE-2026-86320
- bugzilla.redhat.com/show_bug.cgi?id=2471023
- github.com/flatpak/flatpak-builder/security/advisories/GHSA-j5p8-jgjc-f3xv
Merged from CVE List. Last updated 24 Oct 2026. All vulnerabilities · RSS · JSON