CVE-2026-89091
CVE-2026-89091 · Ansible-core: ansible-core: ansible-galaxy collection install symlink path escape allows arbitrary file write / code execution
This page contains facts from public vulnerability sources. Check the original advisory before updating.
This page shows selected source facts. See the linked advisories for the complete description and affected versions.
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.
CVSS 8.8 · High · EPSS 0.5%
- Published
- Updated
Stack: system
Affected products and versions
migration toolkit for applications 8
No fix published
migration toolkit for virtualization
No fix published
openshift service mesh 3
No fix published
red hat advanced cluster management for kubernetes 2
No fix published
red hat ansible automation platform 2
No fix published
red hat ansible automation platform 2
No fix published
red hat ansible automation platform ansible core 2
No fix published
red hat certification program for red hat enterprise linux 9
No fix published
red hat discovery 2
No fix published
red hat enterprise linux 10
No fix published
red hat enterprise linux 8
No fix published
red hat enterprise linux 9
No fix published
red hat openshift container platform 4
No fix published
red hat openstack platform 17.1
No fix published
red hat openstack platform 18.0
No fix published
red hat satellite 6
No fix published
red hat update infrastructure 5
No fix published
self-service automation portal 2
No fix published
ansible-core Debian:12
- Versions
- 2.14.10-1
- 2.14.11-1
- 2.14.11-2
- 2.14.13-1
- 2.14.16-0+deb12u1
- 2.14.18-0+deb12u1
- 2.14.18-0+deb12u2
- 2.14.3-1
- 2.14.6-1
- 2.14.7-1
- 2.14.8-1
- 2.14.9-1
- 2.14.9-2
- 2.16.5-1
- 2.16.6-1
- 2.17.0-1
- 2.17.1-1
- 2.17.2-1
- 2.17.3-1
- 2.17.5-1
- 2.17.5-2
- 2.17.5-3
- 2.17.5-4
- 2.17.5-5
- 2.18.0-1
- 2.18.0-2
- 2.18.1-1
- 2.18.1-2
- 2.18.1-3
- 2.18.1-4
- 2.18.3-1
- 2.19.0-1
- 2.19.0~beta1-1
- 2.19.0~beta1-2
- 2.19.0~beta2-1
- 2.19.0~beta4-1
- 2.19.0~beta5-1
- 2.19.0~beta6-1
- 2.19.0~rc2-1
- 2.19.1-1
- 2.19.2-1
- 2.19.3-1
- 2.19.3-2
- 2.19.4-1
- 2.19~pre20250506~462affa7c4-1
- 2.19~pre20250510~5347d4d4fc-1
- 2.20.1-1
- 2.20.3-1
- 2.21.0-1
- 2.21.1~rc1-1
- 2.21.1~rc1-2
- 2.21.2-1
- 2.22.0~beta1-1
- 2.22.0~beta2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ansible-core Debian:13
- Versions
- 2.19.0-1
- 2.19.0~beta6-1
- 2.19.0~rc2-1
- 2.19.1-0+deb13u1
- 2.19.1-1
- 2.19.11-0+deb13u1
- 2.19.2-1
- 2.19.3-1
- 2.19.3-2
- 2.19.4-0+deb13u1
- 2.19.4-1
- 2.20.1-1
- 2.20.3-1
- 2.21.0-1
- 2.21.1~rc1-1
- 2.21.1~rc1-2
- 2.21.2-1
- 2.22.0~beta1-1
- 2.22.0~beta2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ansible-core Debian:14
- Versions
- 2.19.0-1
- 2.19.0~beta6-1
- 2.19.0~rc2-1
- 2.19.1-1
- 2.19.2-1
- 2.19.3-1
- 2.19.3-2
- 2.19.4-1
- 2.20.1-1
- 2.20.3-1
- 2.21.0-1
- 2.21.1~rc1-1
- 2.21.1~rc1-2
- 2.21.2-1
- 2.22.0~beta1-1
- 2.22.0~beta2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ansible Ubuntu:Pro:14.04:LTS
- Versions
- 1.1+dfsg-1
- 1.3.4+dfsg-1
- 1.4.0+dfsg-1
- 1.4.1+dfsg-1
- 1.4.3+dfsg-1
- 1.4.4+dfsg-1
- 1.5.4+dfsg-1
- 1.5.4+dfsg-1ubuntu0.1~esm1
- 1.5.4+dfsg-1ubuntu0.1~esm2
- 1.5.4+dfsg-1ubuntu0.1~esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ansible Ubuntu:Pro:16.04:LTS
- Versions
- 1.9.2+dfsg-2
- 1.9.4-1
- 2.0.0.2-2
- 2.0.0.2-2ubuntu1
- 2.0.0.2-2ubuntu1.1
- 2.0.0.2-2ubuntu1.2
- 2.0.0.2-2ubuntu1.3
- 2.0.0.2-2ubuntu1.3+esm1
- 2.0.0.2-2ubuntu1.3+esm2
- 2.0.0.2-2ubuntu1.3+esm3
- 2.0.0.2-2ubuntu1.3+esm4
- 2.0.0.2-2ubuntu1.3+esm5
- 2.0.0.2-2ubuntu1.3+esm6
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ansible Ubuntu:Pro:18.04:LTS
- Versions
- 2.3.1.0+dfsg-2
- 2.5.0+dfsg-1
- 2.5.1+dfsg-1
- 2.5.1+dfsg-1ubuntu0.1
- 2.5.1+dfsg-1ubuntu0.1+esm1
- 2.5.1+dfsg-1ubuntu0.1+esm2
- 2.5.1+dfsg-1ubuntu0.1+esm3
- 2.5.1+dfsg-1ubuntu0.1+esm4
- 2.5.1+dfsg-1ubuntu0.1+esm5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published