# CVE-2026-86320: flatpak-builder: A flaw was found in flatpak-builder where Git hooks are not disabled when applying patch sources with use-git-am: true

CVE-2026-86320 is fixed in 4 products on 1 platform, first by RHSA-2026:84834, released August 13, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-86320
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0030
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 13, 2026

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | flatpak-builder Debian 14 | 1.4.11-1 | [DEBIAN-CVE-2026-86320](https://patchblox.com/security/data/fix/linux/debian-cve-2026-86320.md) | Sep 17, 2026 |
| Linux | flatpak-builder RHEL 10 | 1.4.4-1.el10_0.1 | [RHSA-2026:84834](https://patchblox.com/security/data/fix/linux/rhsa-2026-84834.md) | Aug 13, 2026 |
| Linux | flatpak-builder RHEL 8 | 0:1.2.3-2.el8_10 | [RHSA-2026:80973](https://patchblox.com/security/data/fix/linux/rhsa-2026-80973.md) | Oct 13, 2026 |
| Linux | flatpak-builder RHEL 9 | 0:1.2.3-1.el9_8.1 | [RHSA-2026:80496](https://patchblox.com/security/data/fix/linux/rhsa-2026-80496.md) | Oct 12, 2026 |
| Linux | flatpak-builder almalinux 10 | 1.4.4-1.el10_2.1 | [ALSA-2026:80495](https://patchblox.com/security/data/fix/linux/alsa-2026-80495.md) | Nov 7, 2026 |
| Linux | flatpak-builder almalinux 8 | 1.2.3-2.el8_10 | [ALSA-2026:80973](https://patchblox.com/security/data/fix/linux/alsa-2026-80973.md) | Nov 7, 2026 |
| Linux | flatpak-builder almalinux 9 | 1.2.3-1.el9_8.1 | [ALSA-2026:80496](https://patchblox.com/security/data/fix/linux/alsa-2026-80496.md) | Nov 7, 2026 |
| Linux | flatpak-builder amzn 2023 | 1.4.4-1.amzn2023.0.2 | [ALAS2023-2026-3152](https://patchblox.com/security/data/fix/linux/alas2023-2026-3152.md) | Nov 7, 2026 |
| Linux | flatpak-builder ol 10 | 0:1.4.4-1.el10_2.1 | [ELSA-2026-80495](https://patchblox.com/security/data/fix/linux/elsa-2026-80495.md) | Nov 7, 2026 |
| Linux | flatpak-builder ol 8 | 0:1.2.3-2.el8_10 | [ELSA-2026-80973](https://patchblox.com/security/data/fix/linux/elsa-2026-80973.md) | Nov 7, 2026 |
| Linux | flatpak-builder ol 9 | 0:1.2.3-1.el9_8.1 | [ELSA-2026-80496](https://patchblox.com/security/data/fix/linux/elsa-2026-80496.md) | Nov 7, 2026 |
| Linux | flatpak-builder rocky 10 | 0:1.4.4-1.el10_2.1 | [RLSA-2026:80495](https://patchblox.com/security/data/fix/linux/rlsa-2026-80495.md) | Nov 7, 2026 |
| Linux | flatpak-builder rocky 8 | 0:1.2.3-2.el8_10 | [RLSA-2026:80973](https://patchblox.com/security/data/fix/linux/rlsa-2026-80973.md) | Nov 7, 2026 |
| Linux | flatpak-builder rocky 9 | 0:1.2.3-1.el9_8.1 | [RLSA-2026:80496](https://patchblox.com/security/data/fix/linux/rlsa-2026-80496.md) | Nov 7, 2026 |
| Linux | flatpak-builder-debuginfo amzn 2023 | 1.4.4-1.amzn2023.0.2 | [ALAS2023-2026-3152](https://patchblox.com/security/data/fix/linux/alas2023-2026-3152.md) | Nov 7, 2026 |
| Linux | flatpak-builder-debugsource amzn 2023 | 1.4.4-1.amzn2023.0.2 | [ALAS2023-2026-3152](https://patchblox.com/security/data/fix/linux/alas2023-2026-3152.md) | Nov 7, 2026 |
| Linux | flatpak-builder-tests amzn 2023 | 1.4.4-1.amzn2023.0.2 | [ALAS2023-2026-3152](https://patchblox.com/security/data/fix/linux/alas2023-2026-3152.md) | Nov 7, 2026 |

---

Data as of 2026-11-12T01:51:14Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
