CVE-2026-105929
JSON

8.1high

Ansible-core: ansible-galaxy role install path traversal via unvalidated role name allows file writes and directory deletion outside the roles directory

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

Description

A path traversal vulnerability (CWE-22) was found in ansible-core's ansible-galaxy role installation. An explicit role "name" taken from a role's meta/requirements.yml is used to construct the on-disk installation path without validating that the resulting destination stays within the selected roles directory. A name containing "../" escapes that directory, and an absolute name replaces it entirely. Because ansible-galaxy processes transitive dependencies from an installed role's meta/requirements.yml, a malicious role publisher can cause attacker-supplied files to be written outside the operator's chosen roles directory when the operator installs the role, and, when --force is used, can cause an existing role directory outside that path to be removed and replaced. The impact is bounded by the invoking user's filesystem permissions and requires the operator to install the attacker-influenced content.

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-22

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

References

Sources

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