Vulnerability · Published Sep 17, 2026 · Assigned by redhat
CVE-2026-86320Flatpak-builder: host code execution via `git am` hook execution in patch source extraction (`use-git-am`)
High 7.8
In plain English
A high-severity code injection in Red Hat Enterprise Linux 10 from Red Hat. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | flatpak-builder | 1.4.4-1.el10_2.1 | ALSA-2026:80495 |
| AlmaLinux:8 | flatpak-builder | 1.2.3-2.el8_10 | ALSA-2026:80973 |
| AlmaLinux:9 | flatpak-builder | 1.2.3-1.el9_8.1 | ALSA-2026:80496 |
| Alpine:v3.24 | flatpak-builder | 1.4.11-r0 | ALPINE-CVE-2026-86320 |
| Debian:12 | flatpak-builder | no fix listed | DEBIAN-CVE-2026-86320 |
| Debian:13 | flatpak-builder | no fix listed | DEBIAN-CVE-2026-86320 |
| Debian:14 | flatpak-builder | 1.4.11-1 | DEBIAN-CVE-2026-86320 |
| Rocky Linux:10 | flatpak-builder | 0:1.4.4-1.el10_2.1 | RLSA-2026:80495 |
| Rocky Linux:8 | flatpak-builder | 0:1.2.3-2.el8_10 | RLSA-2026:80973 |
| Rocky Linux:9 | flatpak-builder | 0:1.2.3-1.el9_8.1 | RLSA-2026:80496 |
| Ubuntu:22.04:LTS | flatpak-builder | no fix listed | UBUNTU-CVE-2026-86320 |
| Ubuntu:24.04:LTS | flatpak-builder | no fix listed | UBUNTU-CVE-2026-86320 |
| Ubuntu:26.04:LTS | flatpak-builder | no fix listed | UBUNTU-CVE-2026-86320 |
| Ubuntu:26.10 | flatpak-builder | no fix listed | UBUNTU-CVE-2026-86320 |
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- RHSA-2026:80495 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:80496 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:80973 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:84832 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:84833 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:84834 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:84842 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:86714 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:90896 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:92220 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-86320 vdb-entry, x_refsource_REDHAT
- RHBZ#2471023 issue-tracking, x_refsource_REDHAT
- https://github.com/flatpak/flatpak-builder/security/advisories/GHSA-j5p8-jgjc-f3xv