Path Traversal Vulnerability in Ansible Core Affecting Role Installations
CVE-2026-105929

8.1HIGH

What is CVE-2026-105929?

A path traversal flaw was identified in Ansible Core during the installation of roles via ansible-galaxy. The vulnerability arises when a role's name from the meta/requirements.yml file is incorporated into the file path without validation, allowing prospective attackers to escape the designated roles directory using the '../' sequence. This can lead to unauthorized file writing outside of the intended directory and, when using the --force option, could even overwrite existing directories. The potential impact is contingent on the filesystem permissions of the user running the installation, necessitating that the user agrees to install the attacker-influenced role content.

References

CVSS V3.1

Score:
8.1
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.