Patch Ticker
EnglishEN
Elevated

Ansible-core ansible-galaxy path traversal lets role installs write files outside the roles directory

CVE-2026-105929

A tampered Ansible role can overwrite or delete your other files.

Mitigation

No source names a fixed version yet. Install roles only from trusted sources, and before installing check meta/requirements.yml, including transitive dependencies, for any name containing '../' or an absolute path. Do not use --force on untrusted content.

Summary

ansible-galaxy in ansible-core does not check role names for '../' or absolute paths, so installing a malicious role can write files outside the roles directory, and with --force can delete directories there. Damage is limited to what the installing user can change.

Affected when

Installing an untrusted role with ansible-galaxy

Incidents by product: Migration Toolkit for Applications 8 · Migration Toolkit for Virtualization · OpenShift Service Mesh 3 · Red Hat Advanced Cluster Management for Kubernetes 2 · Red Hat Ansible Automation Platform 2

Other recent Incidents of Migration Toolkit for Applications 8

All Incidents of 2026-11-18

Distribution packages (7) (every link below opens in a new tab)

Sources: Debian Security Tracker · Red Hat Security Data (CC BY 4.0) · SUSE CSAF VEX (CC BY 4.0)

Read the CVE record · cve.org (opens in a new tab)