Public vulnerability disclosure

CVE-2026-130644

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

publishedCWE-22

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.

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

Fixes and workarounds

Workaround

Install collections only from trusted sources. Before installing a collection, or allowing its dependencies to be resolved automatically, review the source's MANIFEST.json (collection_info) or galaxy.yml metadata for a namespace or name value containing a path separator, '..' sequence, or an absolute path. Avoid installing collections from requirements files or dependency chains that reference untrusted repositories or mirrors.

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/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-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/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-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/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-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-24/lightspeed-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-24/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-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/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-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/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-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/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-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/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-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-25/lightspeed-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-25/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/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-control-plane-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-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 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 Enterprise Linux command line assistant
Red Hat
rhel-cla/installer-rhel10
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
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: affected
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: affected
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-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-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