Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious collection tarball
-
DeliveryVictim runs ansible-galaxy collection install
-
ExploitSymlink chain bypasses lexical path check
-
ExecutionFile member written outside destination
-
PersistOverwrite authorized_keys or cron/module
-
ImpactCode execution on control node
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
|
| Exploitation Conditions | Exploitation requires that a victim actively run |
| Impact | This is a genuine high-priority vulnerability, though not an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 8.8) describes a network-reachable, low-complexity, unauthenticated flaw whose only gating factor is user interaction (UI:R) - a victim must be convinced to run |
| Exploit ScenarioDerived | An attacker publishes or distributes a malicious Ansible collection tarball that chains symlink-typed directory members so that a later file member escapes the intended install directory. A developer or operator is socially engineered into running |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Symlink-following file overwrite on the Ansible control node is possible in ansible-core when a user runs ansible-galaxy collection install against a crafted collection tarball, because the archive extractor validates member paths with lexical normalization (os.path.abspath) instead of resolving symlinks (os.path.realpath) and performs no containment check on symlink-typed directory members before creating them, letting chained symlink entries redirect a subsequent file member outside the destination directory. The flaw (CWE-59, CVSS 8.8, vector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) is a bypass of the fix for CVE-2020-10691 and requires the victim to actively install the malicious collection, so an attacker can write arbitrary files with the privileges of the ansible-galaxy user and potentially achieve code execution on the control node. No public exploit has been identified at time of analysis and the CVE is not listed in CISA KEV; affected deployments include ansible-core 2.x as shipped in Red Hat Ansible Automation Platform 2 and numerous other Red Hat products, and no patched version is identified in the supplied intelligence, which currently cites only the Red Hat CVE page and Bugzilla 2531646.
RemediationAI
No vendor-released patch or exact fix version is identified in the supplied intelligence at time of analysis; the Red Hat CVE page (https://access.redhat.com/security/cve/CVE-2026-89091) and Bugzilla 2531646 (https://bugzilla.redhat.com/show_bug.cgi?id=2531646) are the authoritative trackers and should be monitored for errata covering ansible-core and each affected Red Hat product, after which upgrade the ansible-core / Ansible Automation Platform packages to the fixed build. Until then, apply targeted compensating controls. First, eliminate the untrusted-archive precondition: install collections only from verified, signed or pinned sources, and pre-inspect any third-party tarball before installation with tar -tvf <collection.tar.gz> (or tar --list --verbose) to reveal member types - reject any archive containing symlink (type 'l') or hardlink (type 'h') entries, since legitimate Ansible collections essentially never need them; the trade-off is manual review overhead and false rejection of unusual but benign packages. Second, bound the blast radius by never invoking ansible-galaxy as root and by running collection installs inside a disposable, unprivileged container or dedicated service account whose filesystem view contains no sensitive host paths - this does not fix the extraction bug but limits any overwrite and follow-on execution to that account's rights, at the cost of additional environment plumbing. Third, harden the target filesystem: mount or mark critical configuration, authorized_keys, shell profiles and sudoers content read-only or immutable during install windows, and prefer isolated virtualenv/user-level install paths (--collections-path) so writes are confined to a directory the ansible-galaxy user legitimately owns. Finally, treat any host on which a malicious collection was installed as potentially compromised: audit recently modified files, cron/systemd units and shell startup files, and rotate credentials for the affected account.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a link-following (CWE-59) flaw in the collection extraction logic used by the ansible-galaxy CLI, part of ansible-core. When unpacking a collection archive, the extractor checks each member's path using os.path.abspath, a purely lexical operation that collapses . and .. segments but does not resolve symbolic links; the correct primitive, os.path.realpath, would resolve any symlink components to their true targets. Because symlink-typed directory members are created without a containment check against the extraction root, an attacker can place a symlink directory entry inside the tarball that points outside the destination, then include a regular file member whose path traverses through that symlink directory - the lexical check passes while the write resolves to an attacker-chosen location. This chained-symlink pattern is the same class of archive-extraction weakness seen in tar/zip handling generally, and it specifically defeats the earlier path-traversal remediation for CVE-2020-10691, which the newer code path no longer covers. The supplied CPE strings map the flaw to the downstream consumers of ansible-core rather than a single binary: Red Hat Ansible Automation Platform 2 (and its ansible-core 2 component), RHEL 8, 9 and 10, Satellite 6, OpenShift Container Platform 4, OpenShift Service Mesh 3, Advanced Cluster Management for Kubernetes 2, OpenStack Platform 17.1 and 18.0, Migration Toolkit for Applications 8, Migration Toolkit for Virtualization, Update Infrastructure 5, Discovery 2 and Self Service Automation Portal 2 - any of which can execute the vulnerable install path. The CVSS vector's AV:N and AC:L reflect that the malicious collection can arrive remotely (for example from a public Galaxy or Automation Hub source) with no special conditions, while PR:N and UI:R correctly express that no credentials are needed but the victim must trigger the install; confidentiality, integrity and availability impacts are all High because the write primitive is arbitrary within the rights of the invoking user.
Know when Ansible gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Collections are fetched over the network (AV:N) with no attacker auth (PR:N) but require the victim to initiate install (UI:R); arbitrary file overwrite yields full C/I/A impact as the invoking user.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Executive ViewAI
Ansible-core 2.x control nodes are affected by a high-severity flaw (CVE-2026-89091) that can allow a malicious collection to overwrite files with the privileges of the user running ansible-galaxy, potentially enabling code execution on automation infrastructure. Because the issue requires a user to install a crafted collection and no vendor patch is currently available, organizations relying on Ansible for privileged automation should treat untrusted collection sources as a supply-chain risk. Leadership should prioritize inventorying control nodes and enforcing strict collection-trust controls until a fix is released.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict ansible-galaxy collection install to trusted, internally reviewed collections; run installs in disposable least-privilege containers or VMs without production secrets; enforce collection allowlists and integrity/signature verification; enable file integrity monitoring on control nodes; and audit existing collections for untrusted or symlink-containing archives.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
Ansible Tower (aka Ansible UI) before 2.0.5 allows remote attackers to bypass authentication and obtain sensitive inform
Ansible Tower (aka Ansible UI) before 2.0.5 allows remote organization administrators to gain privileges by creating a s
Multiple cross-site scripting (XSS) vulnerabilities in Ansible Tower (aka Ansible UI) before 2.0.5 allow remote attacker
A flaw was found in ansible 2.8.0 before 2.8.4. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploit
A flaw was found in the way Ansible (2.3.x before 2.3.3, and 2.4.x before 2.4.1) passed certain parameters to the jenkin
Confluent Ansible (cp-ansible) version 5.5.0, 5.5.1, 5.5.2 and 6.0.0 is vulnerable to Incorrect Access Control via its a
A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a play
The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands. Rated high seve
A flaw was found in the Ansible Engine when the fetch module is used. Rated medium severity (CVSS 4.6), this vulnerabili
ansible-galaxy role installation in ansible-core allows a malicious role publisher to write attacker-supplied files outs
Remote code execution via unsafe Python pickle deserialization in the community.general Ansible collection's memcached f
A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the u
EUVD-2026-95346
GHSA-4jhw-j7jr-j479
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB