CVE-2026-105929
Description
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.
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
Timeline
- 2026-11-18Published by the CNA01:58 UTC
- 2026-11-18Published in NVD02:17 UTC · 19 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_ansible_core_2 | ||
| red_hat discovery_2 | ||
| red_hat enterprise_linux_10 | ||
| red_hat enterprise_linux_8 | ||
| red_hat enterprise_linux_9 | ||
| 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 |
| redhat rhui | 5no fix listed | not listed |
| redhat satellite | 6no fix listed | not listed |
References
- https://access.redhat.com/security/cve/CVE-2026-105929
- https://bugzilla.redhat.com/show_bug.cgi?id=2546288
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-105929'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-105929'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-105929'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-105929'
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).