CVE-2026-130644

Description

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.

Severity
HIGH
CVSS v3
8.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H · source cna
Exploit chance (EPSS)
not scored
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2026-11-18Published by the CNA03:35 UTC
  2. 2026-11-18Published in NVD04:17 UTC · 41 minutes after the CNA

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
red_hat ansible_automation_platform_2
red_hat ansible_automation_platform_ansible_core_2
red_hat discovery_2
red_hat enterprise_linux_10
red_hat enterprise_linux_8
red_hat enterprise_linux_9
red_hat enterprise_linux_command_line_assistant
red_hat openshift_container_platform_4
red_hat openshift_container_platform_5
red_hat openstack_platform_17.1
red_hat satellite_6
red_hat self-service_automation_portal_2
red_hat update_infrastructure_5
redhat ansible_automation_platform2no fix listednot listed
redhat ansible_core2no fix listednot listed
redhat ansible_portal2no fix listednot listed
redhat discovery2no fix listednot listed
redhat enterprise_linux10no fix listed8no fix listed9no fix listednot listednot listednot listed
redhat openshift4no fix listed5no fix listednot listednot listed
redhat openstack17.1no fix listednot listed

23 vulnerable vendor/product pairs in total; the first 20 are shown. The cve_products API lists them page by page, with versions.

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources