CVE-2026-86320

Public on 2026-09-15
Modified on 2026-09-15
Description
When use-git-am: true is enabled for a patch source, flatpak-builder invokes git am without disabling git hooks. A malicious source can include a post-applypatch hook, which will be executed automatically when a patch with use-git-am: true is applied. Since git itself runs unsandboxed in host context at this stage, the hook is executed with host privileges, allowing arbitrary code execution on the host.
Severity
Important severity
Important
See what this means
CVSS v3 Base Score
7.8
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2023 flatpak-builder Pending Fix
Amazon Linux 2027 Preview flatpak-builder Pending Fix

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H