CVEfocus › CVE database › CVE-2026-130644

CVE-2026-130644Ansible-core: ansible-core: ansible-galaxy collection install path traversal via…

CVSS 8.1 HighEPSS 0.5% (higher than 31% of CVEs)Published 2026-11-18Updated 2026-11-24Assigner: redhat

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.

CWE-22

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

16Fix pending
5Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10ansibleFix pendingUBUNTU-CVE-2026-130644
Ubuntu 26.10ansible-coreFix pendingUBUNTU-CVE-2026-130644
Ubuntu 26.04ansibleUnder investigationUBUNTU-CVE-2026-130644
Ubuntu 26.04ansible-coreUnder investigationUBUNTU-CVE-2026-130644
Ubuntu 24.04ansibleUnder investigationUBUNTU-CVE-2026-130644
Ubuntu 24.04ansible-coreUnder investigationUBUNTU-CVE-2026-130644
Ubuntu 22.04ansibleFix pendingUBUNTU-CVE-2026-130644
Ubuntu 22.04ansible-coreUnder investigationUBUNTU-CVE-2026-130644
Ubuntu 20.04ansibleFix pendingUBUNTU-CVE-2026-130644
Ubuntu 18.04ansibleFix pendingUBUNTU-CVE-2026-130644
Ubuntu 16.04ansibleFix pendingUBUNTU-CVE-2026-130644
Ubuntu 14.04ansibleFix pendingUBUNTU-CVE-2026-130644
Debian 14ansible-coreFix pendingDEBIAN-CVE-2026-130644
Debian 13ansible-coreFix pendingDEBIAN-CVE-2026-130644
Debian 12ansible-coreFix pendingDEBIAN-CVE-2026-130644
Red Hat Enterprise Linux 10ansible-coreFix pending
Affected
Red Hat Enterprise Linux 10ansible-testFix pending
Affected
Red Hat Enterprise Linux 9ansible-coreFix pending
Affected
Red Hat Enterprise Linux 9ansible-testFix pending
Affected
Red Hat Enterprise Linux 8ansible-coreFix pending
Affected
Red Hat Enterprise Linux 8ansible-testFix 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.

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

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.