CVE-2026-86320: Improper Control of Generation of Code ('Code Injection') in Red Hat Red Hat Enterprise Linux 10
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.
AI Analysis
Technical Summary
The vulnerability arises from flatpak-builder not disabling Git hooks when applying patch sources using the use-git-am: true option. This allows an attacker who can provide a malicious source containing a Git post-applypatch hook to execute arbitrary code on the host during the build process. The code executes with the privileges of the flatpak-builder process. Exploitation requires the build process to handle attacker-controlled or untrusted sources with this option enabled. The vulnerability is rated with a CVSS 3.1 score of 7.8 (high severity) by Red Hat. Red Hat advises avoiding use-git-am: true on untrusted manifests and recommends isolated build environments for untrusted builds. No official fix or patch status is explicitly stated in the advisory, so patch status is not yet confirmed.
Potential Impact
Successful exploitation results in arbitrary code execution with the privileges of the user running flatpak-builder. This can lead to full compromise of data accessible to that user and potentially modification or exfiltration of sensitive information. The vulnerability impacts confidentiality, integrity, and availability of the affected system. Exploitation requires local access to initiate the build process or automated build services processing untrusted manifests.
Mitigation Recommendations
Red Hat advises avoiding the use of the use-git-am: true option when processing untrusted manifests or source material. For scenarios requiring untrusted builds, it is recommended to perform builds inside disposable virtual machines or other isolated environments to contain potential malicious code execution. No official patch or fix is currently confirmed; users should monitor the Red Hat advisory for updates.
CVE-2026-86320: Improper Control of Generation of Code ('Code Injection') in Red Hat Red Hat Enterprise Linux 10
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.
CVSS v3.1
Score 7.8high
Affected software
Red Hat
Red Hat Enterprise Linux 10
Red Hat
Red Hat Enterprise Linux 8
Red Hat
Red Hat Enterprise Linux 9
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from flatpak-builder not disabling Git hooks when applying patch sources using the use-git-am: true option. This allows an attacker who can provide a malicious source containing a Git post-applypatch hook to execute arbitrary code on the host during the build process. The code executes with the privileges of the flatpak-builder process. Exploitation requires the build process to handle attacker-controlled or untrusted sources with this option enabled. The vulnerability is rated with a CVSS 3.1 score of 7.8 (high severity) by Red Hat. Red Hat advises avoiding use-git-am: true on untrusted manifests and recommends isolated build environments for untrusted builds. No official fix or patch status is explicitly stated in the advisory, so patch status is not yet confirmed.
Potential Impact
Successful exploitation results in arbitrary code execution with the privileges of the user running flatpak-builder. This can lead to full compromise of data accessible to that user and potentially modification or exfiltration of sensitive information. The vulnerability impacts confidentiality, integrity, and availability of the affected system. Exploitation requires local access to initiate the build process or automated build services processing untrusted manifests.
Mitigation Recommendations
Red Hat advises avoiding the use of the use-git-am: true option when processing untrusted manifests or source material. For scenarios requiring untrusted builds, it is recommended to perform builds inside disposable virtual machines or other isolated environments to contain potential malicious code execution. No official patch or fix is currently confirmed; users should monitor the Red Hat advisory for updates.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-09-07T05:35:25.012Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-86320","vendor":"Red Hat"}]
Threat ID: 6aaba91555bf5e2cf5198ac0
Added to database: 09/17/2026, 08:47:17 UTC
Last enriched: 09/17/2026, 09:01:29 UTC
Last updated: 09/18/2026, 10:01:34 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.