Skip to content

Red Hat Enterprise Linux

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?

ProductAffected versions (from the sources)Fixed in
Red Hat Enterprise LinuxUbiquitousnot stated—
Red Hat OpenShift Container PlatformWidespreadnot stated—
Red Hat Advanced Cluster Management for Kubernetes 2Commonnot stated—
Red Hat Ansible Automation Platform 2Commonnot stated—
Red Hat Discovery 1Commonnot stated—
Red Hat OpenStack Platform 16.2Commonnot stated—
Red Hat Satellite 6Commonnot stated—
Red Hat Update Infrastructure 5Commonnot stated—
Migration Toolkit for Applications 8Nichenot stated—
Migration Toolkit for VirtualizationNichenot stated—
Self-service automation portal 2Nichenot stated—
Service Telemetry Framework 1.5Nichenot stated—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactMajor data tamperingWrites or changes important data without gaining executionFrom the CVSS vector0.70
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.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
  1. Prerequisites multiplied together0.700
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.7 × prerequisites 0.7 × threat 0.854.165
  4. Rounded to one decimal between 0.1 and 104.2

How the score works

Exploitation and evidence timeline

  1. 18 Nov 2026 Published
  2. 3 Dec 2026 Risk 4.2 (cvss fallback)

Weakness

CWE-22

References

Get alerts for Red Hat Enterprise Linux

Free email or text alerts when a vulnerability in Red Hat Enterprise Linux reaches risk 8 or higher. Nothing else.