CVE-2026-89091

Ansible-core: ansible-core: ansible-galaxy collection install symlink path escape allows arbitrary file write / code execution

HIGH 8.8

En bref

Source
NVD
EPSS
EPSS 0.48 % · centile 41 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
redhat
Statut NVD
Awaiting Analysis

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.

Faiblesses (CWE)

  • CWE-59 — Suivi de lien non maîtrisé

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Hredhat
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)

Références européennes

Produits affectés

ProduitVersions
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 Advanced Cluster Management for Kubernetes 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD