cve.bz

CVE-2026-86320 Flatpak-builder: host code execution via `git am` hook execution in patch source extraction (`use-git-am`)

7.8 highEPSS 0.3%Fix available

High (7.8) in red hat. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-09-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:1.4.4-1.el10_2.1
  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:1.4.7-1.el10_3.1
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support: fixed in 0:1.4.4-1.el10_0.1
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:1.2.3-2.el8_10
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:1.0.9-4.el8_4
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: fixed in 0:1.0.9-4.el8_4
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: fixed in 0:1.0.9-4.el8_6
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On: fixed in 0:1.0.9-4.el8_6
  • Debian, Red Hat, openSUSE, AlmaLinux, Rocky Linux, Alpine: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-86320 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-86320?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-86320?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-86320 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

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.4 advanced mission critical update support
  • red hat:red hat enterprise linux 8.4 extended update support long-life add-on
  • red hat:red hat enterprise linux 8.6 advanced mission critical update support
  • red hat:red hat enterprise linux 8.6 extended update support long-life add-on
  • 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

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:1.4.4-1.el10_2.1
Red Hat Enterprise Linux 100:1.4.7-1.el10_3.1
Red Hat Enterprise Linux 10.0 Extended Update Support0:1.4.4-1.el10_0.1
Red Hat Enterprise Linux 80:1.2.3-2.el8_10
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:1.0.9-4.el8_4
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:1.0.9-4.el8_4
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:1.0.9-4.el8_6
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:1.0.9-4.el8_6
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:1.0.14-3.el8_8
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:1.0.14-3.el8_8
Red Hat Enterprise Linux 90:1.2.3-1.el9_8.1
Red Hat Enterprise Linux 90:1.2.3-1.el9_9.1
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:1.2.2-2.el9_2
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions0:1.2.3-2.el9_4
Red Hat Enterprise Linux 9.6 Extended Update Support0:1.2.3-1.el9_6.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13flatpak-builderno fix listedDEBIAN-CVE-2026-86320
Debian14flatpak-builder1.4.11-1DEBIAN-CVE-2026-86320
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 moreflatpak-builderno fix listedUBUNTU-CVE-2026-86320
Red Hatenterprise_linux:8::appstreamflatpak-builder, flatpak-builder-debuginfo, flatpak-builder-debugsource0:1.2.3-2.el8_10RHSA-2026:80973
Red Hatenterprise_linux:9::appstreamflatpak-builder, flatpak-builder-debuginfo, flatpak-builder-debugsource0:1.2.3-1.el9_8.1RHSA-2026:80496
Red Hatenterprise_linux:9::appstreamflatpak-builder, flatpak-builder-debuginfo, flatpak-builder-debugsource0:1.2.3-1.el9_9.1RHSA-2026:98536
Red Hatenterprise_linux:10.2flatpak-builder, flatpak-builder-debuginfo, flatpak-builder-debugsource0:1.4.4-1.el10_2.1RHSA-2026:80495
Red Hatenterprise_linux:10.3flatpak-builder, flatpak-builder-debuginfo, flatpak-builder-debugsource0:1.4.7-1.el10_3.1RHSA-2026:98642
Red Hatenterprise_linux_eus:10.0flatpak-builder, flatpak-builder-debuginfo, flatpak-builder-debugsource0:1.4.4-1.el10_0.1RHSA-2026:84834
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamflatpak-builder, flatpak-builder-debuginfo, flatpak-builder-debugsource0:1.0.9-4.el8_4RHSA-2026:92220
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreamflatpak-builder, flatpak-builder-debuginfo, flatpak-builder-debugsource0:1.0.9-4.el8_6RHSA-2026:90896
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamflatpak-builder, flatpak-builder-debuginfo, flatpak-builder-debugsource0:1.0.14-3.el8_8RHSA-2026:86714
Red Hatrhel_e4s:9.2::appstreamflatpak-builder, flatpak-builder-debuginfo, flatpak-builder-debugsource0:1.2.2-2.el9_2RHSA-2026:84842
Red Hatrhel_e4s:9.4::appstreamflatpak-builder, flatpak-builder-debuginfo, flatpak-builder-debugsource0:1.2.3-2.el9_4RHSA-2026:84832
Red Hatrhel_eus:9.6::appstreamflatpak-builder, flatpak-builder-debuginfo, flatpak-builder-debugsource0:1.2.3-1.el9_6.1RHSA-2026:84833
openSUSETumbleweedflatpak-builder1.4.12-1.1openSUSE-SU-2026:11845-1
AlmaLinux8flatpak-builder1.2.3-2.el8_10ALSA-2026:80973
AlmaLinux9flatpak-builder1.2.3-1.el9_8.1ALSA-2026:80496
AlmaLinux9flatpak-builder1.2.3-1.el9_9.1ALSA-2026:98536
AlmaLinux10flatpak-builder1.4.4-1.el10_2.1ALSA-2026:80495
Rocky Linux8flatpak-builder0:1.2.3-2.el8_10RLSA-2026:80973
Rocky Linux9flatpak-builder0:1.2.3-1.el9_8.1RLSA-2026:80496 RLSA-2026:98536
Rocky Linux10flatpak-builder0:1.4.4-1.el10_2.1RLSA-2026:80495
Rocky Linux10flatpak-builder, flatpak-builder-debuginfo, flatpak-builder-debugsource0:1.4.7-1.el10_3.1RLSA-2026:98642
Alpinev3.24flatpak-builder1.4.11-r0ALPINE-CVE-2026-86320

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Product Security has rated this flaw as having an Important security impact. The vulnerability allows a malicious source to execute arbitrary code on the host when processed by flatpak-builder with use-git-am: true. Exploitation requires the target build process to process an attacker-controlled or otherwise untrusted source using this option. In typical interactive builds, user interaction is required to initiate the build, while automated build services that process untrusted manifests may be exposed without additional user interaction. Successful exploitation provides code execution with the privileges of the flatpak-builder process and may allow access to or modification of data available to that process.

Red Hat's mitigation

Avoid using use-git-am: true when processing untrusted manifests or source material. Where untrusted builds are required, perform builds inside disposable virtual machines or other isolated environments.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10flatpak-builder-0:1.4.4-1.el10_2.1Fixed 2026-10-12RHSA-2026:80495
Red Hat Enterprise Linux 10.0 Extended Update Supportflatpak-builder-0:1.4.4-1.el10_0.1Fixed 2026-10-19RHSA-2026:84834
Red Hat Enterprise Linux 8flatpak-builder-0:1.2.3-2.el8_10Fixed 2026-10-12RHSA-2026:80973
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportflatpak-builder-0:1.0.9-4.el8_4Fixed 2026-10-29RHSA-2026:92220
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onflatpak-builder-0:1.0.9-4.el8_4Fixed 2026-10-29RHSA-2026:92220
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportflatpak-builder-0:1.0.9-4.el8_6Fixed 2026-10-27RHSA-2026:90896
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onflatpak-builder-0:1.0.9-4.el8_6Fixed 2026-10-27RHSA-2026:90896
Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceflatpak-builder-0:1.0.14-3.el8_8Fixed 2026-10-21RHSA-2026:86714
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsflatpak-builder-0:1.0.14-3.el8_8Fixed 2026-10-21RHSA-2026:86714
Red Hat Enterprise Linux 9flatpak-builder-0:1.2.3-1.el9_8.1Fixed 2026-10-12RHSA-2026:80496
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsflatpak-builder-0:1.2.2-2.el9_2Fixed 2026-10-19RHSA-2026:84842
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsflatpak-builder-0:1.2.3-2.el9_4Fixed 2026-10-19RHSA-2026:84832
Red Hat Enterprise Linux 9.6 Extended Update Supportflatpak-builder-0:1.2.3-1.el9_6.1Fixed 2026-10-19RHSA-2026:84833

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-86320.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON