CVE-2026-89091

NameCVE-2026-89091
DescriptionA flaw was found in ansible-core. When installing a collection with `ansible-galaxy collection install`, the archive extractor validates member paths using lexical path normalisation (os.path.abspath) instead of resolving symbolic links (os.path.realpath), and it performs no containment check on symlink-typed directory members before creating them. A crafted collection tarball can chain symlink directory entries so that a subsequent file member is written outside the intended destination directory. This allows an attacker who can get a victim to install a malicious collection to overwrite arbitrary files with the privileges of the user running ansible-galaxy, leading to code execution on the control node. This is a bypass of the fix for CVE-2020-10691.
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~beta2-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=2531646
check, details from Red Hat bugzilla not accessible on 2026-10-09

Search for package or bug name: Reporting problems