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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | flatpak-builder | 1.4.11-1 | — |
| Debian 13 | flatpak-builder | No fix yet | — |
| Debian 12 | flatpak-builder | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | flatpak-builder | No fix yet | — |
| Ubuntu 26.04 LTS | flatpak-builder | No fix yet | — |
| Ubuntu 24.04 LTS | flatpak-builder | No fix yet | — |
| Ubuntu 22.04 LTS | flatpak-builder | No fix yet | — |
| Ubuntu 20.04 LTS | flatpak-builder | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | flatpak-builder | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | flatpak-builder | 1.4.4-1.el10_2.1 | RHSA-2026:80495 |
| RHEL 9 | flatpak-builder | 1.2.3-1.el9_8.1 | RHSA-2026:80496 |
| RHEL 8 | flatpak-builder | 1.2.3-2.el8_10 | RHSA-2026:80973 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10.0 EUS | flatpak-builder | 1.4.4-1.el10_0.1 | RHSA-2026:84834 |
| RHEL 9.6 EUS | flatpak-builder | 1.2.3-1.el9_6.1 | RHSA-2026:84833 |
| RHEL 9.4 E4S | flatpak-builder | 1.2.3-2.el9_4 | RHSA-2026:84832 |
| RHEL 9.2 E4S | flatpak-builder | 1.2.2-2.el9_2 | RHSA-2026:84842 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | flatpak-builder | 1.4.4-1.el10_2.1 | ALSA-2026:80495 |
| AlmaLinux 9 | flatpak-builder | 1.2.3-1.el9_8.1 | ALSA-2026:80496 |
| AlmaLinux 8 | flatpak-builder | 1.2.3-2.el8_10 | ALSA-2026:80973 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | flatpak-builder | 1.4.4-1.el10_2.1 | RLSA-2026:80495 |
| Rocky Linux 9 | flatpak-builder | 1.2.3-1.el9_8.1 | RLSA-2026:98536, RLSA-2026:80496 |
| Rocky Linux 8 | flatpak-builder | 1.2.3-2.el8_10 | RLSA-2026:80973 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | flatpak-builder | 1.4.12-1.1 | openSUSE-SU-2026:11845-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | flatpak-builder | 1.4.11-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | flatpak-builder +1 | 1.4.4-1.amzn2023.0.2 | ALAS2023-2026-3152 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | flatpak-builder | 1.4.4-1.el10_2.1 | ELSA-2026-80495 |
| Oracle Linux 9 | flatpak-builder | 1.2.3-1.el9_8.1 | ELSA-2026-80496 |
| Oracle Linux 8 | flatpak-builder | 1.2.3-2.el8_10 | ELSA-2026-80973 |
Advisories 20
- RLSA-2026:98536 Important: flatpak-builder security update Rocky Linux Security Advisories · Nov 12, 2026
- WID-SEC-2026-3861 Red Hat Enterprise Linux (flatpak): Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
- ALSA-2026:80495 Important: flatpak-builder security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:80496 Important: flatpak-builder security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:80973 Important: flatpak-builder security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:84834 Red Hat Security Advisory: flatpak-builder security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:84842 Red Hat Security Advisory: flatpak-builder security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:84832 Red Hat Security Advisory: flatpak-builder security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:84833 Red Hat Security Advisory: flatpak-builder security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:80973 Red Hat Security Advisory: flatpak-builder security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:80495 Red Hat Security Advisory: flatpak-builder security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:80496 Red Hat Security Advisory: flatpak-builder security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RLSA-2026:80973 Important: flatpak-builder security update Rocky Linux Security Advisories · Oct 14, 2026
- RLSA-2026:80495 Important: flatpak-builder security update Rocky Linux Security Advisories · Oct 13, 2026
- RLSA-2026:80496 Important: flatpak-builder security update Rocky Linux Security Advisories · Oct 13, 2026
- ALAS2023-2026-3152 Important: flatpak-builder security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 12, 2026
- ELSA-2026-80973 Important: flatpak-builder security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 12, 2026
- ELSA-2026-80495 Important: flatpak-builder security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Oct 11, 2026
- ELSA-2026-80496 Important: flatpak-builder security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Oct 11, 2026
- openSUSE-SU-2026:11845-1 flatpak-builder-1.4.12-1.1 on GA media SUSE / openSUSE Security Updates · Sep 23, 2026
References
- RHSA-2026:80495 vendor-advisory
- RHSA-2026:80496 vendor-advisory
- RHSA-2026:80973 vendor-advisory
- RHSA-2026:84832 vendor-advisory
- RHSA-2026:84833 vendor-advisory
- RHSA-2026:84834 vendor-advisory
- RHSA-2026:84842 vendor-advisory
- RHSA-2026:86714 vendor-advisory
- RHSA-2026:90896 vendor-advisory
- RHSA-2026:92220 vendor-advisory
- RHSA-2026:98536 vendor-advisory
- RHSA-2026:98642 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-86320 vdb-entry
- RHBZ#2471023 issue-tracking
- https://github.com/flatpak/flatpak-builder/security/advisories/GHSA-j5p8-jgjc-f3xv