CVE-2026-86320 Flatpak-builder: host code execution via `git am` hook execution in patch source extraction (`use-git-am`)
HighCVSS 7.8
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/flatpak-builder(Debian:12) | All versions | No fix listed |
| debian/flatpak-builder(Debian:14) | < 1.4.11-1 | 1.4.11-1 |
| debian/flatpak-builder(Debian:13) | All versions | No fix listed |
| redhat/flatpak-builder(Red Hat:enterprise_linux:10.2) | < 1.4.4-1.el10_2.1 | 1.4.4-1.el10_2.1 |
| redhat/flatpak-builder(Red Hat:enterprise_linux_eus:10.0) | < 1.4.4-1.el10_0.1 | 1.4.4-1.el10_0.1 |
| redhat/flatpak-builder(Red Hat:enterprise_linux:8) | < 1.2.3-2.el8_10 | 1.2.3-2.el8_10 |
| redhat/flatpak-builder(Red Hat:rhel_aus:8.4) | < 1.0.9-4.el8_4 | 1.0.9-4.el8_4 |
| redhat/flatpak-builder(Red Hat:rhel_eus_long_life:8.4) | < 1.0.9-4.el8_4 | 1.0.9-4.el8_4 |
| redhat/flatpak-builder(Red Hat:rhel_aus:8.6) | < 1.0.9-4.el8_6 | 1.0.9-4.el8_6 |
| redhat/flatpak-builder(Red Hat:rhel_eus_long_life:8.6) | < 1.0.9-4.el8_6 | 1.0.9-4.el8_6 |
| redhat/flatpak-builder(Red Hat:rhel_tus:8.8) | < 1.0.14-3.el8_8 | 1.0.14-3.el8_8 |
| redhat/flatpak-builder(Red Hat:rhel_e4s:8.8) | < 1.0.14-3.el8_8 | 1.0.14-3.el8_8 |
| redhat/flatpak-builder(Red Hat:enterprise_linux:9) | < 1.2.3-1.el9_8.1 | 1.2.3-1.el9_8.1 |
| redhat/flatpak-builder(Red Hat:rhel_e4s:9.2) | < 1.2.2-2.el9_2 | 1.2.2-2.el9_2 |
| redhat/flatpak-builder(Red Hat:rhel_e4s:9.4) | < 1.2.3-2.el9_4 | 1.2.3-2.el9_4 |
| redhat/flatpak-builder(Red Hat:rhel_eus:9.6) | < 1.2.3-1.el9_6.1 | 1.2.3-1.el9_6.1 |
| ubuntu/flatpak-builder(Ubuntu:22.04) | All versions | No fix listed |
| alpine/flatpak-builder(Alpine:v3.24) | < 1.4.11-r0 | 1.4.11-r0 |
| ubuntu/flatpak-builder(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/flatpak-builder(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/flatpak-builder(Ubuntu:26.10) | All versions | No fix listed |
| redhat enterprise linux | < 0:1.4.4-1.el10_2.1 | 0:1.4.4-1.el10_2.1 |
| redhat enterprise linux | < 0:1.4.7-1.el10_3.1 | 0:1.4.7-1.el10_3.1 |
| redhat enterprise linux eus | < 0:1.4.4-1.el10_0.1 | 0:1.4.4-1.el10_0.1 |
| redhat enterprise linux | < 0:1.2.3-2.el8_10 | 0:1.2.3-2.el8_10 |
Show 51 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat rhel aus | < 0:1.0.9-4.el8_4 | 0:1.0.9-4.el8_4 |
| redhat rhel eus long life | < 0:1.0.9-4.el8_4 | 0:1.0.9-4.el8_4 |
| redhat rhel aus | < 0:1.0.9-4.el8_6 | 0:1.0.9-4.el8_6 |
| redhat rhel eus long life | < 0:1.0.9-4.el8_6 | 0:1.0.9-4.el8_6 |
| redhat rhel e4s | < 0:1.0.14-3.el8_8 | 0:1.0.14-3.el8_8 |
| redhat rhel tus | < 0:1.0.14-3.el8_8 | 0:1.0.14-3.el8_8 |
| redhat enterprise linux | < 0:1.2.3-1.el9_8.1 | 0:1.2.3-1.el9_8.1 |
| redhat enterprise linux | < 0:1.2.3-1.el9_9.1 | 0:1.2.3-1.el9_9.1 |
| redhat rhel e4s | < 0:1.2.2-2.el9_2 | 0:1.2.2-2.el9_2 |
| redhat rhel e4s | < 0:1.2.3-2.el9_4 | 0:1.2.3-2.el9_4 |
| redhat rhel eus | < 0:1.2.3-1.el9_6.1 | 0:1.2.3-1.el9_6.1 |
| debian/flatpak-builder(Debian:12) | = 1.2.3-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.3.1-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.3.3-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.3.4-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.3.5-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.0-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.1-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.10-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.11-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.12-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.12-2 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.2-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.4-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.4-1~bpo12+1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.4-2 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.5-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.6-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.6-2 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.7-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.8-1 | No fix listed |
| debian/flatpak-builder(Debian:12) | = 1.4.9-1 | No fix listed |
| debian/flatpak-builder(Debian:13) | = 1.4.10-1 | No fix listed |
| debian/flatpak-builder(Debian:13) | = 1.4.11-1 | No fix listed |
| debian/flatpak-builder(Debian:13) | = 1.4.12-1 | No fix listed |
| debian/flatpak-builder(Debian:13) | = 1.4.12-2 | No fix listed |
| debian/flatpak-builder(Debian:13) | = 1.4.4-2 | No fix listed |
| debian/flatpak-builder(Debian:13) | = 1.4.5-1 | No fix listed |
| debian/flatpak-builder(Debian:13) | = 1.4.6-1 | No fix listed |
| debian/flatpak-builder(Debian:13) | = 1.4.6-2 | No fix listed |
| debian/flatpak-builder(Debian:13) | = 1.4.7-1 | No fix listed |
| debian/flatpak-builder(Debian:13) | = 1.4.8-1 | No fix listed |
| debian/flatpak-builder(Debian:13) | = 1.4.9-1 | No fix listed |
| debian/flatpak-builder(Debian:14) | = 1.4.10-1 | No fix listed |
| debian/flatpak-builder(Debian:14) | = 1.4.4-2 | No fix listed |
| debian/flatpak-builder(Debian:14) | = 1.4.5-1 | No fix listed |
| debian/flatpak-builder(Debian:14) | = 1.4.6-1 | No fix listed |
| debian/flatpak-builder(Debian:14) | = 1.4.6-2 | No fix listed |
| debian/flatpak-builder(Debian:14) | = 1.4.7-1 | No fix listed |
| debian/flatpak-builder(Debian:14) | = 1.4.8-1 | No fix listed |
| debian/flatpak-builder(Debian:14) | = 1.4.9-1 | No fix listed |
References
- RHSA-2026:80495 patch vendor-advisory
- RHSA-2026:80496 patch vendor-advisory
- RHSA-2026:80973 patch vendor-advisory
- RHSA-2026:84832 patch vendor-advisory
- RHSA-2026:84833 patch vendor-advisory
- RHSA-2026:84834 patch vendor-advisory
- RHSA-2026:84842 patch vendor-advisory
- RHSA-2026:86714 patch vendor-advisory
- RHSA-2026:90896 patch vendor-advisory
- RHSA-2026:92220 patch vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2471023 exploit issue-tracking
- github.com exploit
- Debian Security Tracker CVE-2026-86320 vendor-advisory
- bugs.debian.org issue-tracking
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- security.alpinelinux.org vendor-advisory
- RHSA-2026:98536 vendor-advisory
- RHSA-2026:98642 vendor-advisory