Red HatCVE-2026-86320
Red Hat flatpak-builder: code execution
No fix yet
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.
Affected versions
The source does not list versions here. See the source advisory for affected products and fixes.
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-94
- www.cve.org/CVERecord?id=CVE-2026-86320
- nvd.nist.gov/vuln/detail/CVE-2026-86320
- access.redhat.com/errata/RHSA-2026:80495
- access.redhat.com/errata/RHSA-2026:80496
- access.redhat.com/errata/RHSA-2026:80973
- access.redhat.com/errata/RHSA-2026:84832
- access.redhat.com/errata/RHSA-2026:84833
- access.redhat.com/errata/RHSA-2026:84834
- access.redhat.com/errata/RHSA-2026:84842
- access.redhat.com/errata/RHSA-2026:86714
- access.redhat.com/errata/RHSA-2026:90896
- access.redhat.com/errata/RHSA-2026:92220
- access.redhat.com/security/cve/CVE-2026-86320
- bugzilla.redhat.com/show_bug.cgi?id=2471023
- github.com/flatpak/flatpak-builder/security/advisories/GHSA-j5p8-jgjc-f3xv