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).

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.5%top 58.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12ansible-coreno fix listedDEBIAN-CVE-2026-89091
Debian:13ansible-coreno fix listedDEBIAN-CVE-2026-89091
Debian:14ansible-coreno fix listedDEBIAN-CVE-2026-89091
Ubuntu:24.04:LTSansibleno fix listedUBUNTU-CVE-2026-89091
Ubuntu:26.04:LTSansibleno fix listedUBUNTU-CVE-2026-89091
Ubuntu:26.10ansibleno fix listedUBUNTU-CVE-2026-89091
Ubuntu:22.04:LTSansible-coreno fix listedUBUNTU-CVE-2026-89091
Ubuntu:24.04:LTSansible-coreno fix listedUBUNTU-CVE-2026-89091
Ubuntu:26.04:LTSansible-coreno fix listedUBUNTU-CVE-2026-89091
Ubuntu:26.10ansible-coreno fix listedUBUNTU-CVE-2026-89091

Affected products (as reported)

VendorProductVersions
Red Hat Migration Toolkit for Applications 8 see references
Red Hat Migration Toolkit for Virtualization see references
Red Hat OpenShift Service Mesh 3 see references
Red Hat Red Hat Advanced Cluster Management for Kubernetes 2 see references
Red Hat Red Hat Advanced Cluster Management for Kubernetes 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references
Red Hat Red Hat Ansible Automation Platform 2 see references

Weakness: CWE-59 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References