cvelo
P2 · HighCVSS 8.1EPSS 0.3%

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

  • CVE-2026-105929
  • GHSA-65g3-4m89-fc5m
  • EUVD-2026-128411

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.

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 Certification Program for Red Hat Enterprise Linux 9

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