Skip to content

Red Hat Enterprise Linux

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?

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—
Red Hat Certification Program for Red Hat Enterprise Linux 9Nichenot 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 30), 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.