Description
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.
Published: 2026-10-08
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote code execution on the control node via arbitrary file overwrite
Action: Immediate Patch
AI Analysis

Impact

The flaw resides in ansible‑core's handling of collection archives. During an ansible-galaxy collection install, the extractor normalises paths with lexical normalisation rather than resolving symbolic links. It also omits containment checks for symlinked directories, permitting a crafted tarball to create a chain of symlinks that place a later file member outside the intended directory. This leads to an attacker, who can get a user to install a malicious collection, writing arbitrary files with the privileges of the ansible‑galaxy process and therefore executing code on the control node. The weakness corresponds to path traversal (CWE‑59).

Affected Systems

Affected systems include a broad range of Red Hat products that ship ansible‑core, such as the Migration Toolkit for Applications and Virtualization, OpenShift Service Mesh, Advanced Cluster Management for Kubernetes, the Ansible Automation Platform, Ansible Core, OpenShift Container Platform, OpenStack Platform 17.1 and 18.0, Satellite, Update Infrastructure, and various Red Hat Enterprise Linux releases. Version information is not provided, so any installation using ansible‑core that has not applied the recent fix may be vulnerable.

Risk and Exploitability

The CVSS score of 8.8 marks this vulnerability as high severity, and although the EPSS score is currently unavailable, the lack of a KEV listing does not diminish the risk. The vulnerability requires an attacker who can coerce the control node to run ansible‑galaxy with a malicious collection, which is feasible through compromised or untrusted collection sources or social‑engineering of an administrator. Once triggered, the attacker can overwrite critical files and execute arbitrary code with whatever permissions the control node runs under.

Generated by OpenCVE AI on October 8, 2026 at 23:54 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update ansible-core (or the Ansible Automation Platform) to the latest release that contains the path traversal fix.
  • Configure ansible‑galaxy to install collections only from trusted, signed sources or enable signature verification if available.
  • Run ansible‑galaxy with the least privilege necessary, using non‑privileged accounts or SELinux confinement to limit file write permissions.
  • If a patch cannot be applied immediately, disable symlink handling during collection extraction or restrict the collection installation feature to isolated environments.

Generated by OpenCVE AI on October 8, 2026 at 23:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 09 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 08 Oct 2026 22:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Ansible-core: ansible-core: ansible-galaxy collection install symlink path escape allows arbitrary file write / code execution
First Time appeared Redhat
Redhat acm
Redhat ansible Automation Platform
Redhat ansible Core
Redhat ansible Portal
Redhat certifications
Redhat discovery
Redhat enterprise Linux
Redhat migration Toolkit Applications
Redhat migration Toolkit Virtualization
Redhat openshift
Redhat openstack
Redhat rhui
Redhat satellite
Redhat service Mesh
Weaknesses CWE-59
CPEs cpe:/a:redhat:acm:2
cpe:/a:redhat:ansible_automation_platform:2
cpe:/a:redhat:ansible_core:2
cpe:/a:redhat:ansible_portal:2
cpe:/a:redhat:certifications:9
cpe:/a:redhat:discovery:2::el9
cpe:/a:redhat:migration_toolkit_applications:8
cpe:/a:redhat:migration_toolkit_virtualization:2
cpe:/a:redhat:openshift:4
cpe:/a:redhat:openstack:17.1
cpe:/a:redhat:openstack:18.0
cpe:/a:redhat:rhui:5::el9
cpe:/a:redhat:satellite:6
cpe:/a:redhat:service_mesh:3
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat acm
Redhat ansible Automation Platform
Redhat ansible Core
Redhat ansible Portal
Redhat certifications
Redhat discovery
Redhat enterprise Linux
Redhat migration Toolkit Applications
Redhat migration Toolkit Virtualization
Redhat openshift
Redhat openstack
Redhat rhui
Redhat satellite
Redhat service Mesh
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

Redhat Acm Ansible Automation Platform Ansible Core Ansible Portal Certifications Discovery Enterprise Linux Migration Toolkit Applications Migration Toolkit Virtualization Openshift Openstack Rhui Satellite Service Mesh
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-09T15:13:02.773Z

Reserved: 2026-09-10T20:17:42.169Z

Link: CVE-2026-89091

cve-icon Vulnrichment

Updated: 2026-10-09T15:00:03.115Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-08T22:17:35.777

Modified: 2026-10-09T16:37:45.710

Link: CVE-2026-89091

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T00:00:09Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')