Public vulnerability disclosure

CVE-2026-105929

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

publishedCWE-22

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.

Technical severity8.1 highCVSS 3.1 · CNA: redhat
Published2026-11-18Source updated 2026-11-26
Collected2026-11-263 attributed sources

Fixes and workarounds

Workaround

Install roles and collections only from trusted sources. Before installing a role, review its meta/requirements.yml (including transitive dependencies) for any "name" value containing "../" or an absolute path. Avoid using "ansible-galaxy role install --force" against untrusted content.

Source: CNA: redhat

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
Migration Toolkit for Applications 8
Red Hat
mta/mta-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Migration Toolkit for Virtualization
Red Hat
migration-toolkit-virtualization/mtv-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
OpenShift Service Mesh 3
Red Hat
openshift-service-mesh/kiali-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Advanced Cluster Management for Kubernetes 2
Red Hat
rhacm2/volsync-operator-bundle
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Advanced Cluster Management for Kubernetes 2
Red Hat
rhacm2/volsync-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-24/de-minimal-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unknown
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-24/de-minimal-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unknown
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-24/ee-minimal-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unknown
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-24/ee-minimal-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unknown
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-24/hub-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unknown
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-24/lightspeed-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-25/ansible-dev-tools-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-25/de-minimal-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-25/de-minimal-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-25/eda-controller-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-25/ee-minimal-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-25/ee-minimal-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-25/hub-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-25/lightspeed-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-26/ansible-dev-tools-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-26/controller-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-26/de-minimal-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-26/de-supported-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-26/eda-controller-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-26/eda-controller-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-26/ee-minimal-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-26/ee-supported-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-26/gateway-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-26/hub-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-26/hub-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-26/lightspeed-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-26/lightspeed-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-26/platform-resource-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-26/platform-resource-runner-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/aap-cloud-billing-operator-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/ansible-devspaces-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/ansible-dev-tools-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/controller-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/de-minimal-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/de-supported-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/eda-controller-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/eda-controller-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/ee-minimal-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/ee-supported-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/gateway-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/hub-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/hub-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/lightspeed-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/lightspeed-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/metrics-service-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/platform-resource-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-27/platform-resource-runner-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-tech-preview/ansible-devspaces-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-automation-platform-tech-preview/metrics-service-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform 2
Red Hat
ansible-core
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Ansible Automation Platform Ansible Core 2
Red Hat
ansible-automation-platform/ee-minimal-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform Ansible Core 2
Red Hat
ansible-automation-platform/ee-minimal-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform Ansible Core 2
Red Hat
ansible-automation-platform-tech-preview/ee-minimal-rhel8
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Ansible Automation Platform Ansible Core 2
Red Hat
ansible-automation-platform-tech-preview/ee-minimal-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Certification Program for Red Hat Enterprise Linux 9
Red Hat
rhcertification/redhat-certification-system-ai
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Discovery 2
Red Hat
discovery/discovery-server-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 10
Red Hat
ansible-core
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
ansible-core
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
ansible-core
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 4
Red Hat
openshift4/ose-ansible-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat OpenShift Container Platform 5
Red Hat
openshift5/ose-ansible-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat OpenStack Platform 17.1
Red Hat
openstack-ansible-core
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat OpenStack Platform 17.1
Red Hat
rhosp-rhel9/openstack-neutron-server
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat OpenStack Platform 17.1
Red Hat
rhosp-rhel9/openstack-tripleoclient
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat OpenStack Platform 18.0
Red Hat
rhoso-operators/ee-openstack-ansible-ee-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Satellite 6
Red Hat
ansible-core
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Update Infrastructure 5
Red Hat
rhui5/installer-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Update Infrastructure 5
Red Hat
rhui5/installer-tp-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Update Infrastructure 5
Red Hat
rhui5/rhua-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Update Infrastructure 5
Red Hat
rhui5/rhua-tp-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Self-service automation portal 2
Red Hat
ansible-automation-platform/bootc-automation-portal-rhel9
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Service Telemetry Framework 1.5
Red Hat
stf/service-telemetry-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Service Telemetry Framework 1.5
Red Hat
stf/smart-gateway-rhel9-operator
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 8.1
high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:HCNA: redhat
3.1 / 8.1
high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:HNVD: [email protected]

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide