1. Archivio CVE
  2. 2026
  3. CVE-2026-89091

CVE-2026-89091

8.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H 8.8 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
redhat acm 2 –
redhat ansible automation platform 2 –
redhat ansible core 2 –
redhat ansible portal 2 –
redhat certifications 9 –
redhat discovery 2 –
redhat enterprise linux 10 –
redhat enterprise linux 8 –
redhat enterprise linux 9 –
redhat migration toolkit applications 8 –
redhat migration toolkit virtualization 2 –
redhat openshift 4 –
redhat openshift 5 –
redhat openstack 17.1 –
redhat openstack 18.0 –
redhat rhui 5 –
redhat satellite 6 –
redhat service mesh 3 –
Tutte le 9 vulnerabilità di Redhat Ansible Core

Tipo di vulnerabilità

CWE-59 Risoluzione impropria dei collegamenti prima dell’accesso a un file (link following)

Il prodotto accede a un file in base al nome, ma non impedisce che quel nome sia un collegamento (link o scorciatoia) verso una risorsa diversa da quella prevista.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Controllo degli accessi Leggere file o cartelle, Modificare file o cartelle, Aggirare i meccanismi di protezione
Altro Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione · Separazione dei privilegi Follow the principle of least privilege when assigning access rights to entities in a software system. Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 1.884 CVE di tipo CWE-59, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org