Ansible-core: ansible-galaxy role install path traversal via unvalidated role name allows file writes and directory deletion outside the roles directory
CVE-2026-105929Published 18 Nov 2026, 01:58 UTC
Real-world risk
4.2/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.1
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from redhat)
A path traversal vulnerability (CWE-22) was found in ansible-core's ansible-galaxy role installation. An explicit role "name" taken from a role's meta/requirements.yml is used to construct the on-disk installation path without validating that the resulting destination stays within the selected roles directory. A name containing "../" escapes that directory, and an absolute name replaces it entirely. Because ansible-galaxy processes transitive dependencies from an installed role's meta/requirements.yml, a malicious role publisher can cause attacker-supplied files to be written outside the operator's chosen roles directory when the operator installs the role, and, when --force is used, can cause an existing role directory outside that path to be removed and replaced. The impact is bounded by the invoking user's filesystem permissions and requires the operator to install the attacker-influenced content.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Red Hat Enterprise LinuxUbiquitous | not stated | — |
| Red Hat OpenShift Container PlatformWidespread | not stated | — |
| Red Hat Advanced Cluster Management for Kubernetes 2Common | not stated | — |
| Red Hat Ansible Automation Platform 2Common | not stated | — |
| Red Hat Discovery 1Common | not stated | — |
| Red Hat OpenStack Platform 16.2Common | not stated | — |
| Red Hat Satellite 6Common | not stated | — |
| Red Hat Update Infrastructure 5Common | not stated | — |
| Migration Toolkit for Applications 8Niche | not stated | — |
| Migration Toolkit for VirtualizationNiche | not stated | — |
| Red Hat Certification Program for Red Hat Enterprise Linux 9Niche | not stated | — |
| Self-service automation portal 2Niche | not stated | — |
| Service Telemetry Framework 1.5Niche | not stated | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 30), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.700
- Threat T1: Nothing known0.850
- 10 × impact 0.7 × prerequisites 0.7 × threat 0.854.165
- Rounded to one decimal between 0.1 and 104.2
Exploitation and evidence timeline
- 18 Nov 2026 Published
- 3 Dec 2026 Risk 4.2 (cvss fallback)
Weakness
CWE-22
References
- https://access.redhat.com/security/cve/CVE-2026-105929redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2546288issue-tracking, redhat
- CVE-2026-105929 on CVE.org