# 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

- 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-130644, DEBIAN-CVE-2026-130644, openSUSE-SU-2026:12762-1, openSUSE-SU-2026:12763-1, openSUSE-SU-2026:12761-1
- Record: https://cvemate.com/vulnerability/CVE-2026-130644 · JSON: https://cvemate.com/vulnerability/CVE-2026-130644/json

## Description

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

## 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.349%, percentile 30.552%, 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)
- opensuse ansible-core (openSUSE): \< 2.22.1-1.1
- opensuse ansible-core-2.20 (openSUSE): \< 2.20.12-1.1
- opensuse ansible-core-2.21 (openSUSE): \< 2.21.7-1.1

## References

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

---

Data as of 2026-12-05T04:59:18.388Z. 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
