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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| 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 | — |
References
- https://access.redhat.com/errata/RHSA-2026:80495
- https://access.redhat.com/errata/RHSA-2026:80496
- https://access.redhat.com/errata/RHSA-2026:80973
- https://access.redhat.com/errata/RHSA-2026:84832
- https://access.redhat.com/errata/RHSA-2026:84833
- https://access.redhat.com/errata/RHSA-2026:84834
- https://access.redhat.com/errata/RHSA-2026:84842
- https://access.redhat.com/errata/RHSA-2026:86714
- https://access.redhat.com/errata/RHSA-2026:90896
- https://access.redhat.com/errata/RHSA-2026:92220
- https://access.redhat.com/security/cve/CVE-2026-86320
- https://bugzilla.redhat.com/show_bug.cgi?id=2471023
- https://github.com/flatpak/flatpak-builder/security/advisories/GHSA-j5p8-jgjc-f3xv
- https://bugzilla.redhat.com/show_bug.cgi?id=2471023
- https://github.com/flatpak/flatpak-builder/security/advisories/GHSA-j5p8-jgjc-f3xv
Timeline
- Published
- Sep 17, 2026
- Last modified
- Nov 11, 2026
- NVD status
- Awaiting Analysis