Skip to content
statance
MenuClose
high · CVSS 7.8

CVE-2026-86320

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

Published 17 Sept 2026 · Source updated 3 Nov 2026 · Retrieved 2026-11-04 15:05 UTC · This record may be stale; verify the source

Monitor this CVE ↗Full CVE monitoring on Pro and Business

What happened?

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.

Description supplied by CVE Program. Formatting is simplified; follow the original advisory for full details.

Affected software and versions

Source-provided software and version information
SoftwareVersion informationFixed version
flatpak-builderRed Hatunaffected: 0:1.4.4-1.el10_2.1 to < *See vendor advisory
flatpak-builderRed Hatunaffected: 0:1.4.4-1.el10_0.1 to < *See vendor advisory
flatpak-builderRed Hatunaffected: 0:1.2.3-2.el8_10 to < *See vendor advisory
flatpak-builderRed Hatunaffected: 0:1.0.9-4.el8_4 to < *See vendor advisory
flatpak-builderRed Hatunaffected: 0:1.0.9-4.el8_4 to < *See vendor advisory
flatpak-builderRed Hatunaffected: 0:1.0.9-4.el8_6 to < *See vendor advisory
flatpak-builderRed Hatunaffected: 0:1.0.9-4.el8_6 to < *See vendor advisory
flatpak-builderRed Hatunaffected: 0:1.0.14-3.el8_8 to < *See vendor advisory
flatpak-builderRed Hatunaffected: 0:1.0.14-3.el8_8 to < *See vendor advisory
flatpak-builderRed Hatunaffected: 0:1.2.3-1.el9_8.1 to < *See vendor advisory
flatpak-builderRed Hatunaffected: 0:1.2.2-2.el9_2 to < *See vendor advisory
flatpak-builderRed Hatunaffected: 0:1.2.3-2.el9_4 to < *See vendor advisory
flatpak-builderRed Hatunaffected: 0:1.2.3-1.el9_6.1 to < *See vendor advisory

Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.

Is it being exploited?

This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.

CISA data retrieved 2026-11-06 16:38 UTC. Check CISA ↗

How to respond

  1. Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
  2. Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
  3. Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.

Sources and remediation references

This public advisory does not determine whether a particular server is affected. Records are refreshed as sources change; verify urgent decisions against the original advisory.

← Browse the public CVE feed