cve.bz

CVE-2026-89091 Ansible-core: ansible-core: ansible-galaxy collection install symlink path escape allows arbitrary file write / code execution

8.8 highEPSS 0.5%

High (8.8) in red hat. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in ansible-core. When installing a collection with `ansible-galaxy collection install`, the archive extractor validates member paths using lexical path normalisation (os.path.abspath) instead of resolving symbolic links (os.path.realpath), and it performs no containment check on symlink-typed directory members before creating them. A crafted collection tarball can chain symlink directory entries so that a subsequent file member is written outside the intended destination directory. This allows an attacker who can get a victim to install a malicious collection to overwrite arbitrary files with the privileges of the user running ansible-galaxy, leading to code execution on the control node. This is a bypass of the fix for CVE-2020-10691.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-89091 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-89091?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-89091?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-89091 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • red hat:migration toolkit for applications 8
  • red hat:migration toolkit for virtualization
  • red hat:openshift service mesh 3
  • red hat:red hat advanced cluster management for kubernetes 2
  • red hat:red hat ansible automation platform 2
  • red hat:red hat ansible automation platform ansible core 2
  • red hat:red hat certification program for red hat enterprise linux 9
  • red hat:red hat discovery 2
  • red hat:red hat enterprise linux 10
  • red hat:red hat enterprise linux 8
  • red hat:red hat enterprise linux 9
  • red hat:red hat openshift container platform 4
  • red hat:red hat openshift container platform 5
  • red hat:red hat openstack platform 17.1
  • red hat:red hat openstack platform 18.0
  • red hat:red hat satellite 6
  • red hat:red hat update infrastructure 5
  • red hat:self-service automation portal 2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14ansible-coreno fix listedDEBIAN-CVE-2026-89091
Ubuntu22.04:LTSansible-coreno fix listedUBUNTU-CVE-2026-89091
Ubuntu24.04:LTS, 26.04:LTS, 26.10ansible, ansible-coreno fix listedUBUNTU-CVE-2026-89091
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 2 moreansibleno fix listedUBUNTU-CVE-2026-89091
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Module for Systems Management 15 SP7, Linux Enterprise Server 15 SP4-LTSS and 5 moreansible-core2.18.3-150400.9.20.1SUSE-SU-2026:5185-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0ansible-core2.18.3-160000.5.1SUSE-SU-2026:24464-1
SUSELinux Enterprise Server 16.1, Linux Enterprise Server for SAP applications 16.1ansible-core2.20.2-160100.4.1SUSE-SU-2026:24618-1
SUSELinux Enterprise Server for NVIDIA 16.1ansible-core2.20.2-160100.4.1SUSE-SU-2026:24700-1
openSUSELeap 16.0ansible-core2.18.3-160000.5.1openSUSE-SU-2026:22172-1
openSUSELeap 16.1ansible-core2.20.2-160100.4.1openSUSE-SU-2026:22300-1
openSUSETumbleweedansible-core2.21.5-2.1openSUSE-SU-2026:12172-1
openSUSETumbleweedansible-core-2.182.18.19-3.1openSUSE-SU-2026:12173-1
openSUSETumbleweedansible-core-2.192.19.14-2.1openSUSE-SU-2026:12174-1
openSUSETumbleweedansible-core-2.202.20.10-2.1openSUSE-SU-2026:12175-1
openSUSETumbleweedansible-core-2.212.21.6-1.1openSUSE-SU-2026:12451-1
Azure Linux3ansibleno fix listedAZL-107132

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Ansible Automation Platform ships ansible-core and is affected. Red

Hat Enterprise Linux ships ansible-core in AppStream and is affected. Fixes

will be provided for maintained streams.

ProductPackageStateAdvisory
Migration Toolkit for Applications 8mta/mta-rhel9-operatorNot affected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-rhel9-operatorNot affected
OpenShift Service Mesh 3openshift-service-mesh/kiali-rhel9-operatorNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-operator-bundleFix deferred
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/de-minimal-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/de-minimal-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-minimal-rhel8Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-minimal-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/hub-rhel8Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/lightspeed-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ansible-dev-tools-rhel8Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/de-minimal-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/de-minimal-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/eda-controller-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ee-minimal-rhel8Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ee-minimal-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/hub-rhel8Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/ansible-dev-tools-rhel9Affected
54 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-89091.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON