Source: ansible-core
X-Debbugs-CC: [email protected]
Severity: important
Tags: security

Hi,

The following vulnerability was published for ansible-core.

CVE-2026-130644[0]:
| 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.

https://bugzilla.redhat.com/show_bug.cgi?id=2574391


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-130644
    https://www.cve.org/CVERecord?id=CVE-2026-130644

Please adjust the affected versions in the BTS as needed.

Reply via email to