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

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-09-17T07:27:33.167Z
- Modified: 2026-11-11T14:17:47.680Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- flatpak-builder: no versions given (not affected: from 0:1.4.4-1.el10_2.1 before *; from 0:1.4.7-1.el10_3.1 before *; from 0:1.4.4-1.el10_0.1 before *; from 0:1.2.3-2.el8_10 before *; from 0:1.0.9-4.el8_4 before *; from 0:1.0.9-4.el8_6 before *; from 0:1.0.14-3.el8_8 before *; from 0:1.2.3-1.el9_8.1 before *; from 0:1.2.3-1.el9_9.1 before *; from 0:1.2.2-2.el9_2 before *; from 0:1.2.3-2.el9_4 before *; from 0:1.2.3-1.el9_6.1 before *)

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2471023> (exploit, issue-tracking)
- <https://github.com/flatpak/flatpak-builder/security/advisories/GHSA-j5p8-jgjc-f3xv> (exploit)
- <https://access.redhat.com/errata/RHSA-2026:80495> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:80496> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:80973> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:84832> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:84833> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:84834> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:84842> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:86714> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:90896> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:92220> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98536> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98642> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-86320> (vdb-entry)

## Sources

- CVE List: [CVE-2026-86320](https://www.cve.org/CVERecord?id=CVE-2026-86320), CVE Terms of Use, modified 2026-11-11
- NVD: [CVE-2026-86320](https://nvd.nist.gov/vuln/detail/CVE-2026-86320), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-86320 · Whole record: https://cve.day/CVE-2026-86320.json · Rebuilt by cve.day 2026-11-25T22:59:39.211Z
