CVE-2026-130644

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.
Configurations

No configuration.

History

18 Nov 2026, 04:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-18 04:17

Updated : 2026-12-01 16:18


NVD link : CVE-2026-130644

Mitre link : CVE-2026-130644

CVE.ORG link : CVE-2026-130644


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')