cvelo
P2 · HighCVSS 8.1EPSS 0.3%

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

  • CVE-2026-130644
  • GHSA-qvg5-6mh8-jpg9
  • EUVD-2026-128429

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.

Text from the CVE.org record.

Recommendation

Cvelo has no version information for this record. Check the vendor advisory.

Affected

  • Red Hat Migration Toolkit for Applications 8

    No versions listed

  • Red Hat Migration Toolkit for Virtualization

    No versions listed

  • Red Hat OpenShift Service Mesh 3

    No versions listed

  • Red Hat Red Hat Advanced Cluster Management for Kubernetes 2

    No versions listed

  • Red Hat Red Hat Ansible Automation Platform 2

    No versions listed

  • Red Hat Red Hat Ansible Automation Platform Ansible Core 2

    No versions listed

  • Red Hat Red Hat Discovery 2

    No versions listed

  • Red Hat Red Hat Enterprise Linux 10

    No versions listed

  • Red Hat Red Hat Enterprise Linux 8

    No versions listed

  • Red Hat Red Hat Enterprise Linux 9

    No versions listed

  • Red Hat Red Hat Enterprise Linux command line assistant

    No versions listed

  • Red Hat Red Hat OpenShift Container Platform 4

    No versions listed

  • Red Hat Red Hat OpenShift Container Platform 5

    No versions listed

  • Red Hat Red Hat OpenStack Platform 17.1

    No versions listed

  • Red Hat Red Hat OpenStack Platform 18.0

    No versions listed

  • Red Hat Red Hat Satellite 6

    No versions listed

  • Red Hat Red Hat Update Infrastructure 5

    No versions listed

  • Red Hat Self-service automation portal 2

    No versions listed

  • Red Hat Service Telemetry Framework 1.5

    No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.