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

Ansible-Core Collection Installs Trust Namespace and Name Fields Inside the Artifact, Opening a Path Traversal in ansible-galaxy

Last refreshed2026-11-19

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

Key Details

CVECVE-2026-130644
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.28% probability of exploitation in the next 30 days (21% 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
Red HatRed Hat Enterprise Linux command line assistant
SubsystemsOT Supporting Infrastructure
SectorsMultiple

What to Know

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. (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-130644
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-130644
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.