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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Migration Toolkit for Applications 8 | — | — |
| Red Hat | Migration Toolkit for Virtualization | — | — |
| Red Hat | OpenShift Service Mesh 3 | — | — |
| Red Hat | Red Hat Advanced Cluster Management for Kubernetes 2 | — | — |
| Red Hat | Red Hat Ansible Automation Platform 2 | — | — |
| Red Hat | Red Hat Ansible Automation Platform Ansible Core 2 | — | — |
| Red Hat | Red Hat Certification Program for Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat Discovery 2 | — | — |
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat OpenShift Container Platform 4 | — | — |
| Red Hat | Red Hat OpenShift Container Platform 5 | — | — |
| Red Hat | Red Hat OpenStack Platform 17.1 | — | — |
| Red Hat | Red Hat OpenStack Platform 18.0 | — | — |
| Red Hat | Red Hat Satellite 6 | — | — |
| Red Hat | Red Hat Update Infrastructure 5 | — | — |
| Red Hat | Self-service automation portal 2 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ansible-core | No fix yet | — |
| Debian 13 | ansible-core | No fix yet | — |
| Debian 12 | ansible-core | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ansible +1 | No fix yet | — |
| Ubuntu 26.04 LTS | ansible +1 | No fix yet | — |
| Ubuntu 24.04 LTS | ansible +1 | No fix yet | — |
| Ubuntu 22.04 LTS | ansible-core | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | ansible | No fix yet | — |
| Ubuntu Pro 20.04 LTS | ansible | No fix yet | — |
| Ubuntu Pro 18.04 LTS | ansible | No fix yet | — |
| Ubuntu Pro 16.04 LTS | ansible | No fix yet | — |
| Ubuntu Pro 14.04 LTS | ansible | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | ansible-core | 2.18.3-150400.9.20.1 | SUSE-SU-2026:5185-1 |
| SLES 15 SP6 | ansible-core | 2.18.3-150400.9.20.1 | SUSE-SU-2026:5185-1 |
| SLES 15 SP5 | ansible-core | 2.18.3-150400.9.20.1 | SUSE-SU-2026:5185-1 |
| SLES 15 SP4 | ansible-core | 2.18.3-150400.9.20.1 | SUSE-SU-2026:5185-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | ansible-core | 2.18.3-160000.5.1 | SUSE-SU-2026:24464-1 |
| SLES for SAP 15 SP6 | ansible-core | 2.18.3-150400.9.20.1 | SUSE-SU-2026:5185-1 |
| SLES for SAP 15 SP5 | ansible-core | 2.18.3-150400.9.20.1 | SUSE-SU-2026:5185-1 |
| SLES for SAP 15 SP4 | ansible-core | 2.18.3-150400.9.20.1 | SUSE-SU-2026:5185-1 |
| SLES 16.0 | ansible-core | 2.18.3-160000.5.1 | SUSE-SU-2026:24464-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ansible-core | 2.21.5-2.1 | openSUSE-SU-2026:12172-1 |
| openSUSE Tumbleweed | ansible-core-2.18 | 2.18.19-3.1 | openSUSE-SU-2026:12173-1 |
| openSUSE Tumbleweed | ansible-core-2.19 | 2.19.14-2.1 | openSUSE-SU-2026:12174-1 |
| openSUSE Tumbleweed | ansible-core-2.20 | 2.20.10-2.1 | openSUSE-SU-2026:12175-1 |
| openSUSE Tumbleweed | ansible-core-2.21 | 2.21.6-1.1 | openSUSE-SU-2026:12451-1 |
| openSUSE Leap 16.0 | ansible-core | 2.18.3-160000.5.1 | openSUSE-SU-2026:22172-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | ansible | No fix yet | — |
Advisories 8
- SUSE-SU-2026:5185-1 Security update for ansible-core SUSE / openSUSE Security Updates · Nov 11, 2026
- openSUSE-SU-2026:12451-1 ansible-core-2.21-2.21.6-1.1 on GA media SUSE / openSUSE Security Updates · Nov 7, 2026
- SUSE-SU-2026:24464-1 Security update for ansible-core SUSE / openSUSE Security Updates · Nov 4, 2026
- openSUSE-SU-2026:22172-1 Security update for ansible-core SUSE / openSUSE Security Updates · Nov 1, 2026
- openSUSE-SU-2026:12175-1 ansible-core-2.20-2.20.10-2.1 on GA media SUSE / openSUSE Security Updates · Oct 19, 2026
- openSUSE-SU-2026:12172-1 ansible-core-2.21.5-2.1 on GA media SUSE / openSUSE Security Updates · Oct 19, 2026
- openSUSE-SU-2026:12173-1 ansible-core-2.18-2.18.19-3.1 on GA media SUSE / openSUSE Security Updates · Oct 19, 2026
- openSUSE-SU-2026:12174-1 ansible-core-2.19-2.19.14-2.1 on GA media SUSE / openSUSE Security Updates · Oct 19, 2026
References
- https://access.redhat.com/security/cve/CVE-2026-89091 vdb-entry
- RHBZ#2531646 issue-tracking