Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Red Hat / Red Hat Enterprise Linux 10 | unaffected 0:1.4.4-1.el10_2.1 before * |
| Red Hat / Red Hat Enterprise Linux 10.0 Extended Update Support | unaffected 0:1.4.4-1.el10_0.1 before * |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected 0:1.2.3-2.el8_10 before * |
| Red Hat / Red Hat Enterprise Linux 8.8 Telecommunications Update Service | unaffected 0:1.0.14-3.el8_8 before * |
| Red Hat / Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | unaffected 0:1.0.14-3.el8_8 before * |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected 0:1.2.3-1.el9_8.1 before * |
| Red Hat / Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | unaffected 0:1.2.2-2.el9_2 before * |
| Red Hat / Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | unaffected 0:1.2.3-2.el9_4 before * |
| Red Hat / Red Hat Enterprise Linux 9.6 Extended Update Support | unaffected 0:1.2.3-1.el9_6.1 before * |
CWE
CWE-94
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/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
ADP enrichment
No English description supplied.