CVE-2026-130644

high
EUVD alias: EUVD-2026-128429
Assigned by CNA: redhat
Published 2026-11-18 · Modified 2026-12-01
CVSS v3
8.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
CVSS v4 NEW
—
not yet in upstream
VIR risk
8.1

Description

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.

Predictions

Exploit likelihood
88%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker · View original ↗ · DFSG

CVE-2026-130644 NameCVE-2026-130644 DescriptionA 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…

CVE-2026-130644

NameCVE-2026-130644
DescriptionA 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ansible-core (PTS)bookworm2.14.18-0+deb12u2vulnerable
trixie2.19.11-0+deb13u1vulnerable
forky, sid2.22.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ansible-coresource(unstable)(unfixed)

Notes

https://bugzilla.redhat.com/show_bug.cgi?id=2574391

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
https://bugzilla.redhat.com/show_bug.cgi?id=2574391

OS impact

Azure Linux Affected 1 release
VersionPackageStatusFixed in
3.0 — Affected —
debian Debian Affected 4 releases
VersionPackageStatusFixed in
trixie ansible-core Affected —
sid ansible-core Affected —
forky ansible-core Affected —
bookworm ansible-core Affected —
suse SUSE Tracked 1 release
VersionPackageStatusFixed in
— — Unknown —

References

CWEs

CWE-22

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.