CVE-2026-89091
Fixed in a distro release EPSS <1%CVSS 8.8
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.
Products: Red Hat Migration Toolkit for Applications 8, Red Hat Migration Toolkit for Virtualization, Red Hat OpenShift Service Mesh 3, Red Hat Advanced Cluster Management for Kubernetes 2, Red Hat Ansible Automation Platform 2, Red Hat Ansible Automation Platform Ansible Core 2, Red Hat Certification Program for Red Hat Enterprise Linux 9, Red Hat Discovery 2, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4, Red Hat OpenStack Platform 17.1, Red Hat OpenStack Platform 18.0, Red Hat Satellite 6, Red Hat Update Infrastructure 5, Red Hat Self-service automation portal 2
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | ansible-core | no fix |
| Debian 13 | ansible-core | no fix |
| Debian 14 | ansible-core | no fix |
| Ubuntu 22.04 LTS | ansible-core | no fix |
| Ubuntu 24.04 LTS | ansible | no fix |
| Ubuntu 24.04 LTS | ansible-core | no fix |
| Ubuntu 26.04 LTS | ansible | no fix |
| Ubuntu 26.04 LTS | ansible-core | no fix |
| Ubuntu 26.10 | ansible | no fix |
| Ubuntu 26.10 | ansible-core | no fix |
| Ubuntu Pro 14.04 LTS | ansible | no fix |
| Ubuntu Pro 16.04 LTS | ansible | no fix |
| Ubuntu Pro 18.04 LTS | ansible | no fix |
| Ubuntu Pro 20.04 LTS | ansible | no fix |
| Ubuntu Pro 22.04 LTS | ansible | no fix |
| openSUSE Tumbleweed | ansible-core | 2.21.5-2.1 |
| openSUSE Tumbleweed | ansible-core-2.18 | 2.18.19-3.1 |
| openSUSE Tumbleweed | ansible-core-2.19 | 2.19.14-2.1 |
| openSUSE Tumbleweed | ansible-core-2.20 | 2.20.10-2.1 |