CVE-2026-86320
Flatpak-builder: host code execution via `git am` hook execution in patch source extraction (`use-git-am`)
- State
- Published
- Severity
- 7.8 High
- Published
- Sep 17, 2026
- Updated
- Oct 28, 2026
- Reserved
- Sep 7, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-94 Improper Control of Generation of Code ('Code Injection')
Affected Products
| Product | Versions |
|---|---|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 10.0 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRed Hat |
|
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.6 Extended Update SupportRed Hat |
|
References
- RHSA-2026:80495vendor-advisory
- RHSA-2026:80496vendor-advisory
- RHSA-2026:80973vendor-advisory
- RHSA-2026:84832vendor-advisory
- RHSA-2026:84833vendor-advisory
- RHSA-2026:84834vendor-advisory
- RHSA-2026:84842vendor-advisory
- RHSA-2026:86714vendor-advisory
- RHSA-2026:90896vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-86320vdb-entry
- RHBZ#2471023issue-tracking
- https://github.com/flatpak/flatpak-builder/security/advisories/GHSA-j5p8-jgjc-f3xv
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.