Vulnerability · Published Oct 8, 2026 · Assigned by redhat
CVE-2026-89091Ansible-core: ansible-core: ansible-galaxy collection install symlink path escape allows arbitrary file write / code execution
High 8.8
In plain English
A high-severity security flaw in Migration Toolkit for Applications 8 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities).
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ansible-core | no fix listed | DEBIAN-CVE-2026-89091 |
| Debian:13 | ansible-core | no fix listed | DEBIAN-CVE-2026-89091 |
| Debian:14 | ansible-core | no fix listed | DEBIAN-CVE-2026-89091 |
| Ubuntu:24.04:LTS | ansible | no fix listed | UBUNTU-CVE-2026-89091 |
| Ubuntu:26.04:LTS | ansible | no fix listed | UBUNTU-CVE-2026-89091 |
| Ubuntu:26.10 | ansible | no fix listed | UBUNTU-CVE-2026-89091 |
| Ubuntu:22.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2026-89091 |
| Ubuntu:24.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2026-89091 |
| Ubuntu:26.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2026-89091 |
| Ubuntu:26.10 | ansible-core | no fix listed | UBUNTU-CVE-2026-89091 |
Affected products (as reported)
Weakness: CWE-59 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://access.redhat.com/security/cve/CVE-2026-89091 vdb-entry, x_refsource_REDHAT
- RHBZ#2531646 issue-tracking, x_refsource_REDHAT