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.
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
Timeline
- 2026-11-18Published by the CNA03:35 UTC
- 2026-11-18Published in NVD04:17 UTC · 41 minutes after the CNA
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed 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_platform | 2no fix listed | not listed |
| redhat ansible_core | 2no fix listed | not listed |
| redhat ansible_portal | 2no fix listed | not listed |
| redhat discovery | 2no fix listed | not listed |
| redhat enterprise_linux | 10no fix listed8no fix listed9no fix listed | not listednot listednot listed |
| redhat openshift | 4no fix listed5no fix listed | not listednot listed |
| redhat openstack | 17.1no fix listed | not listed |
References
- https://access.redhat.com/security/cve/CVE-2026-130644
- https://bugzilla.redhat.com/show_bug.cgi?id=2574391
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-130644'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-130644'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-130644'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-130644'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).