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.
References10
- 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
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 23 · as of 8 November 2026
- CWE
- CWE-94
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.