Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2026-86320

Flatpak-builder: host code execution via `git am` hook execution in patch source extraction (`use-git-am`)

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Red Hat Red Hat Enterprise Linux 10

Default version status: affected

  • 0:1.4.4-1.el10_2.1 to < *unaffected

Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support

Default version status: affected

  • 0:1.4.4-1.el10_0.1 to < *unaffected

Red Hat Red Hat Enterprise Linux 8

Default version status: affected

  • 0:1.2.3-2.el8_10 to < *unaffected

Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support

Default version status: affected

  • 0:1.0.9-4.el8_4 to < *unaffected

Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Default version status: affected

  • 0:1.0.9-4.el8_4 to < *unaffected

Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support

Default version status: affected

  • 0:1.0.9-4.el8_6 to < *unaffected

Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Default version status: affected

  • 0:1.0.9-4.el8_6 to < *unaffected

Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Default version status: affected

  • 0:1.0.14-3.el8_8 to < *unaffected

Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions

Default version status: affected

  • 0:1.0.14-3.el8_8 to < *unaffected

Red Hat Red Hat Enterprise Linux 9

Default version status: affected

  • 0:1.2.3-1.el9_8.1 to < *unaffected

Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Default version status: affected

  • 0:1.2.2-2.el9_2 to < *unaffected

Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Default version status: affected

  • 0:1.2.3-2.el9_4 to < *unaffected

Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support

Default version status: affected

  • 0:1.2.3-1.el9_6.1 to < *unaffected

References