Path Traversal Flaw in Ansible-Core by Red Hat
CVE-2026-130644

8.1HIGH

What is CVE-2026-130644?

A path traversal flaw exists in Ansible-Core, resulting from improper validation of collection artifact metadata during the installation process. Specifically, when using the ansible-galaxy collection install command, the destination directory for installations can be derived from malleable namespace and name fields in the collection's metadata. This flaw allows a malicious collection artifact, whether sourced from a local file, remote URL, source directory, or git repository, to craft a deceptive name value. Consequently, this can lead to the installation process circumventing security mechanisms, redirecting the installation to unintended directories, and potentially overwriting existing files with attacker-controlled 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

Credit

Upstream acknowledges rootvector2 (GitHub (ansible/ansible PR #87088)) as the original reporter.
.