← All Advisories
Reported from OT-Advisories.com as of

A Malicious Ansible Galaxy Role Name Containing ../ Can Write Files Outside the Roles Directory, and --force Can Replace an Existing Directory There

Last refreshed2026-11-19

Status: UPDATED  |  Advisory ID: CVE-2026-105929

Key Details

CVECVE-2026-105929
CVSS Score / Version
8.1 (High) / CVSS v3.1
Updated2026-11-18
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
CVSS Prose
attack vector is network; attack complexity is low; privileges required is none; user interaction is required; scope is unchanged; confidentiality impact is none; integrity impact is high; availability impact is high.
Affected products
see table below
Classified as
CWE-22 (Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'))
Exploitation prediction (EPSS)
0.45% probability of exploitation in the next 30 days (40% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Update Infrastructure 5
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat Ansible Automation Platform 2
Red HatRed Hat Satellite 6
Red HatRed Hat Discovery 2
Red HatRed Hat Ansible Automation Platform Ansible Core 2
Red HatSelf-service automation portal 2
Red HatRed Hat OpenStack Platform 17.1
Red HatRed Hat OpenShift Container Platform 5
SubsystemsOT Supporting Infrastructure
SectorsMultiple

What to Know

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. (NVD)

What to Do

Monitor Red Hat's web page for any future patch releases.

https://access.redhat.com/security/security-updates/

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-105929
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-105929
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.