CVE-2026-130644
JSON

8.1high

Ansible-core: ansible-core: ansible-galaxy collection install path traversal via unvalidated artifact-derived collection name allows file writes and directory deletion outside the collections path

Severity
8.1high CVSS:3.1 by redhat
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

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.

Affected

Product or packageVersionsReported by
mta/mta-rhel9-operatorNot specifiedCVE List
migration-toolkit-virtualization/mtv-rhel9-operatorNot specifiedCVE List
openshift-service-mesh/kiali-rhel9-operatorNot specifiedCVE List
rhacm2/volsync-operator-bundleNot specifiedCVE List
rhacm2/volsync-rhel9Not specifiedCVE List
ansible-automation-platform-24/controller-rhel9-operatorNot specifiedCVE List
ansible-automation-platform-24/de-minimal-rhel8Not specifiedCVE List
ansible-automation-platform-24/de-minimal-rhel9Not specifiedCVE List
ansible-automation-platform-24/eda-controller-rhel9-operatorNot specifiedCVE List
ansible-automation-platform-24/ee-minimal-rhel8Not specifiedCVE List
ansible-automation-platform-24/ee-minimal-rhel9Not specifiedCVE List
ansible-automation-platform-24/hub-rhel8Not specifiedCVE List

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-130644 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-130644 changed 2026-12-01Public domain