Ansible-core: ansible-core: ansible-galaxy collection install path traversal via unvalidated artifact-derived collection name allows file writes and directory deletion outside the collections path
CVE-2026-130644Published 18 Nov 2026, 03:35 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 flaw was found in ansible-core. When installing a collection with ansible-galaxy collection install, the install destination directory is derived from the namespace and name fields declared inside the collection artifact's own metadata, which are not validated as well-formed collection identifiers or checked for path containment. A malicious collection artifact -- delivered as a local file, a remote URL, a source directory, a git repository, or as a dependency -- can use a crafted name value to redirect the install destination outside the configured collections path, causing ansible-galaxy to delete an existing directory writable by the invoking user and then write attacker-controlled files to that location.
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 | — |
| 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 31), 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-130644redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2574391issue-tracking, redhat
- CVE-2026-130644 on CVE.org