{"id":"CVE-2026-86320","aliases":["CVE-2026-86320"],"related":[],"kind":"vulnerability","state":"published","title":"Flatpak-builder: host code execution via `git am` hook execution in patch source extraction (`use-git-am`)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-17T07:27:33.167Z","modified":"2026-11-11T14:17:47.680Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"rpm","introduced":"0:1.4.4-1.el10_2.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"flatpak-builder","cpe":"cpe:/o:redhat:enterprise_linux:10.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.4.7-1.el10_3.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"flatpak-builder","cpe":"cpe:/o:redhat:enterprise_linux:10.3","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.4.4-1.el10_0.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10.0 Extended Update Support","package":"flatpak-builder","cpe":"cpe:/o:redhat:enterprise_linux_eus:10.0","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.3-2.el8_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"flatpak-builder","cpe":"cpe:/a:redhat:enterprise_linux:8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.0.9-4.el8_4","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","package":"flatpak-builder","cpe":"cpe:/a:redhat:rhel_aus:8.4::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.0.9-4.el8_4","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On","package":"flatpak-builder","cpe":"cpe:/a:redhat:rhel_aus:8.4::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.0.9-4.el8_6","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","package":"flatpak-builder","cpe":"cpe:/a:redhat:rhel_aus:8.6::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.0.9-4.el8_6","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On","package":"flatpak-builder","cpe":"cpe:/a:redhat:rhel_aus:8.6::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.0.14-3.el8_8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.8 Telecommunications Update Service","package":"flatpak-builder","cpe":"cpe:/a:redhat:rhel_e4s:8.8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.0.14-3.el8_8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions","package":"flatpak-builder","cpe":"cpe:/a:redhat:rhel_e4s:8.8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.3-1.el9_8.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"flatpak-builder","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.3-1.el9_9.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"flatpak-builder","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.2-2.el9_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions","package":"flatpak-builder","cpe":"cpe:/a:redhat:rhel_e4s:9.2::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.3-2.el9_4","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions","package":"flatpak-builder","cpe":"cpe:/a:redhat:rhel_e4s:9.4::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.2.3-1.el9_6.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.6 Extended Update Support","package":"flatpak-builder","cpe":"cpe:/a:redhat:rhel_eus:9.6::appstream","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:80495","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:80496","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:80973","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:84832","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:84833","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:84834","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:84842","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:86714","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:90896","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:92220","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:98536","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:98642","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-86320","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2471023","tags":["exploit","issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://github.com/flatpak/flatpak-builder/security/advisories/GHSA-j5p8-jgjc-f3xv","tags":["exploit"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank AISLE Research for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-09-17T15:42:59.014Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-86320","url":"https://www.cve.org/CVERecord?id=CVE-2026-86320","licence":"CVE Terms of Use","modified":"2026-11-11T13:59:07.143Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-86320","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-86320","licence":"Public domain","modified":"2026-11-11T14:17:47.680Z"}],"updatedAt":"2026-11-25T22:59:39.211Z","epss":{"score":0.00299,"percentile":0.24305,"date":"2026-12-02T12:00:21.000Z"}}