# 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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-18 · Modified: 2026-12-01
- Aliases: UBUNTU-CVE-2026-105929, DEBIAN-CVE-2026-105929
- Record: https://cvemate.com/vulnerability/CVE-2026-105929 · JSON: https://cvemate.com/vulnerability/CVE-2026-105929/json

## Description

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

## Signals

- CVSS: 8.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- EPSS: 0.343%, percentile 29.76%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian ansible-core (Debian): All versions (No fix recorded)
- ubuntu ansible (Ubuntu): All versions (No fix recorded)
- ubuntu ansible-core (Ubuntu): All versions (No fix recorded)

## References

- <https://access.redhat.com/security/cve/CVE-2026-105929>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2546288>
- <https://ubuntu.com/security/CVE-2026-105929>
- <https://www.cve.org/CVERecord?id=CVE-2026-105929>
- <https://security-tracker.debian.org/tracker/CVE-2026-105929>

---

Data as of 2026-12-05T05:00:26.994Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
