CVE-2026-130644Ansible-core: ansible-core: ansible-galaxy collection install path traversal via…
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.
What to do
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | ansible | Fix pending | UBUNTU-CVE-2026-130644 | |
| Ubuntu 26.10 | ansible-core | Fix pending | UBUNTU-CVE-2026-130644 | |
| Ubuntu 26.04 | ansible | Under investigation | UBUNTU-CVE-2026-130644 | |
| Ubuntu 26.04 | ansible-core | Under investigation | UBUNTU-CVE-2026-130644 | |
| Ubuntu 24.04 | ansible | Under investigation | UBUNTU-CVE-2026-130644 | |
| Ubuntu 24.04 | ansible-core | Under investigation | UBUNTU-CVE-2026-130644 | |
| Ubuntu 22.04 | ansible | Fix pending | UBUNTU-CVE-2026-130644 | |
| Ubuntu 22.04 | ansible-core | Under investigation | UBUNTU-CVE-2026-130644 | |
| Ubuntu 20.04 | ansible | Fix pending | UBUNTU-CVE-2026-130644 | |
| Ubuntu 18.04 | ansible | Fix pending | UBUNTU-CVE-2026-130644 | |
| Ubuntu 16.04 | ansible | Fix pending | UBUNTU-CVE-2026-130644 | |
| Ubuntu 14.04 | ansible | Fix pending | UBUNTU-CVE-2026-130644 | |
| Debian 14 | ansible-core | Fix pending | DEBIAN-CVE-2026-130644 | |
| Debian 13 | ansible-core | Fix pending | DEBIAN-CVE-2026-130644 | |
| Debian 12 | ansible-core | Fix pending | DEBIAN-CVE-2026-130644 | |
| Red Hat Enterprise Linux 10 | ansible-core | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | ansible-test | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | ansible-core | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | ansible-test | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | ansible-core | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | ansible-test | Fix pending Affected |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Migration Toolkit for Applications 8
- Red Hat Migration Toolkit for Virtualization
- Red Hat OpenShift Service Mesh 3
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Ansible Automation Platform 2
Workaround: Install collections only from trusted sources. Before installing a collection, or allowing its dependencies to be resolved automatically, review the source's MANIFEST.json (collection_info) or galaxy.yml metadata for a namespace or name value containing a path separator, '..' sequence, or an absolute path. Avoid installing collections from requirements files or dependency chains that reference untrusted repositories or mirrors.
References
- https://access.redhat.com/security/cve/CVE-2026-130644
- https://bugzilla.redhat.com/show_bug.cgi?id=2574391
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.