CVEfocus › CVE database › CVE-2026-86320

CVE-2026-86320Flatpak-builder: host code execution via `git am` hook execution in patch source…

CVSS 7.8 HighEPSS 0.3% (higher than 10% of CVEs)Published 2026-09-17Updated 2026-11-11Assigner: redhat

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.

CWE-94

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
5Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10flatpak-builderFix pendingUBUNTU-CVE-2026-86320
Ubuntu 26.04flatpak-builderUnder investigationUBUNTU-CVE-2026-86320
Ubuntu 24.04flatpak-builderUnder investigationUBUNTU-CVE-2026-86320
Ubuntu 22.04flatpak-builderUnder investigationUBUNTU-CVE-2026-86320
Ubuntu 20.04flatpak-builderFix pendingUBUNTU-CVE-2026-86320
Ubuntu 18.04flatpak-builderFix pendingUBUNTU-CVE-2026-86320
Debian 14flatpak-builderFixed1.4.11-1DEBIAN-CVE-2026-86320
Debian 13flatpak-builderFix pendingDEBIAN-CVE-2026-86320
Debian 12flatpak-builderFix pendingDEBIAN-CVE-2026-86320
Red Hat Enterprise Linux 10flatpak-builderFixed0:1.4.7-1.el10_3.1RHSA-2026:80495
Red Hat Enterprise Linux 9flatpak-builderFixed0:1.2.3-1.el9_9.1RHSA-2026:80496
Red Hat Enterprise Linux 8flatpak-builderFixed0:1.2.3-2.el8_10RHSA-2026:80973
AlmaLinux 10flatpak-builderFixed1.4.4-1.el10_2.1ALSA-2026:98642
AlmaLinux 9flatpak-builderFixed1.2.3-1.el9_9.1ALSA-2026:80496
AlmaLinux 8flatpak-builderFixed1.2.3-2.el8_10ALSA-2026:80973
Rocky Linux 10flatpak-builderFixed0:1.4.7-1.el10_3.1RLSA-2026:98642
Rocky Linux 9flatpak-builderFixed0:1.2.3-1.el9_8.1RLSA-2026:80496
Rocky Linux 8flatpak-builderFixed0:1.2.3-2.el8_10RLSA-2026:80973
Alpine Linux 3.24flatpak-builderFixed1.4.11-r0ALPINE-CVE-2026-86320

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: 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.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.