CVE-2026-89091
Description
A 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
8- osv-coords7 versionspkg:rpm/opensuse/ansible-core&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/ansible-core&distro=openSUSE%20Leap%2016.1pkg:rpm/opensuse/ansible-core&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ansible-core-2.18&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ansible-core-2.19&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ansible-core-2.20&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ansible-core-2.21&distro=openSUSE%20Tumbleweed
< 2.18.3-160000.5.1+ 6 more
- (no CPE)range: < 2.18.3-160000.5.1
- (no CPE)range: < 2.20.2-160100.4.1
- (no CPE)range: < 2.21.5-2.1
- (no CPE)range: < 2.18.19-3.1
- (no CPE)range: < 2.19.14-2.1
- (no CPE)range: < 2.20.10-2.1
- (no CPE)range: < 2.21.6-1.1
Patches
Vulnerability mechanics
References
2News mentions
0No linked articles in our index yet.