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.

Severity (CVSS)

Base score8.8
SeverityHigh
VersionCVSS 3.1
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Provided byCNA

Weaknesses

  • CWE-59 — Improper Link Resolution Before File Access ('Link Following')

Affected products

VendorProductVersions
Red HatMigration Toolkit for Applications 8—
Red HatMigration Toolkit for Virtualization—
Red HatOpenShift Service Mesh 3—
Red HatRed Hat Advanced Cluster Management for Kubernetes 2—
Red HatRed Hat Advanced Cluster Management for Kubernetes 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform 2—
Red HatRed Hat Ansible Automation Platform Ansible Core 2—
Red HatRed Hat Ansible Automation Platform Ansible Core 2—
Red HatRed Hat Ansible Automation Platform Ansible Core 2—
Red HatRed Hat Ansible Automation Platform Ansible Core 2—
Red HatRed Hat Certification Program for Red Hat Enterprise Linux 9—
Red HatRed Hat Discovery 2—
Red HatRed Hat Enterprise Linux 10—
Red HatRed Hat Enterprise Linux 8—
Red HatRed Hat Enterprise Linux 9—
Red HatRed Hat OpenShift Container Platform 4—
Red HatRed Hat OpenStack Platform 17.1—
Red HatRed Hat OpenStack Platform 18.0—
Red HatRed Hat Satellite 6—
Red HatRed Hat Update Infrastructure 5—
Red HatRed Hat Update Infrastructure 5—
Red HatRed Hat Update Infrastructure 5—
Red HatRed Hat Update Infrastructure 5—
Red HatSelf-service automation portal 2—

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 10 Oct 2026 19:47 UTC.