CVE-2026-89091
JSON

8.8high

Ansible-core: ansible-core: ansible-galaxy collection install symlink path escape allows arbitrary file write / code execution

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

Description

A flaw was found in ansible-core. When installing a collection with `ansible-galaxy collection install`, the archive extractor validates member paths using lexical path normalisation (os.path.abspath) instead of resolving symbolic links (os.path.realpath), and it performs no containment check on symlink-typed directory members before creating them. A crafted collection tarball can chain symlink directory entries so that a subsequent file member is written outside the intended destination directory. This allows an attacker who can get a victim to install a malicious collection to overwrite arbitrary files with the privileges of the user running ansible-galaxy, leading to code execution on the control node. This is a bypass of the fix for CVE-2020-10691.

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/de-minimal-rhel8Not specifiedCVE List
ansible-automation-platform-24/de-minimal-rhel9Not 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
ansible-automation-platform-24/lightspeed-rhel8Not specifiedCVE List
ansible-automation-platform-25/ansible-dev-tools-rhel8Not specifiedCVE List

Classification

CWE-59

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

References

Sources

SourceRecordLicence
CVE ListCVE-2026-89091 changed 2026-11-23CVE Terms of Use
NVDCVE-2026-89091 changed 2026-11-23Public domain