Skip to content
OpenAdvisories

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 products

VendorProductAffectedFixed
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 Ansible Automation Platform 2 — —
Red Hat Red Hat Ansible Automation Platform Ansible Core 2 — —
Red Hat Red Hat Certification Program for Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Discovery 2 — —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat OpenShift Container Platform 4 — —
Red Hat Red Hat OpenShift Container Platform 5 — —
Red Hat Red Hat OpenStack Platform 17.1 — —
Red Hat Red Hat OpenStack Platform 18.0 — —
Red Hat Red Hat Satellite 6 — —
Red Hat Red Hat Update Infrastructure 5 — —
Red Hat Self-service automation portal 2 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ansible-core No fix yet —
Debian 13 ansible-core No fix yet —
Debian 12 ansible-core No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ansible +1 No fix yet —
Ubuntu 26.04 LTS ansible +1 No fix yet —
Ubuntu 24.04 LTS ansible +1 No fix yet —
Ubuntu 22.04 LTS ansible-core No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS ansible No fix yet —
Ubuntu Pro 20.04 LTS ansible No fix yet —
Ubuntu Pro 18.04 LTS ansible No fix yet —
Ubuntu Pro 16.04 LTS ansible No fix yet —
Ubuntu Pro 14.04 LTS ansible No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 ansible-core 2.18.3-150400.9.20.1 SUSE-SU-2026:5185-1
SLES 15 SP6 ansible-core 2.18.3-150400.9.20.1 SUSE-SU-2026:5185-1
SLES 15 SP5 ansible-core 2.18.3-150400.9.20.1 SUSE-SU-2026:5185-1
SLES 15 SP4 ansible-core 2.18.3-150400.9.20.1 SUSE-SU-2026:5185-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 ansible-core 2.18.3-160000.5.1 SUSE-SU-2026:24464-1
SLES for SAP 15 SP6 ansible-core 2.18.3-150400.9.20.1 SUSE-SU-2026:5185-1
SLES for SAP 15 SP5 ansible-core 2.18.3-150400.9.20.1 SUSE-SU-2026:5185-1
SLES for SAP 15 SP4 ansible-core 2.18.3-150400.9.20.1 SUSE-SU-2026:5185-1
SLES 16.0 ansible-core 2.18.3-160000.5.1 SUSE-SU-2026:24464-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ansible-core 2.21.5-2.1 openSUSE-SU-2026:12172-1
openSUSE Tumbleweed ansible-core-2.18 2.18.19-3.1 openSUSE-SU-2026:12173-1
openSUSE Tumbleweed ansible-core-2.19 2.19.14-2.1 openSUSE-SU-2026:12174-1
openSUSE Tumbleweed ansible-core-2.20 2.20.10-2.1 openSUSE-SU-2026:12175-1
openSUSE Tumbleweed ansible-core-2.21 2.21.6-1.1 openSUSE-SU-2026:12451-1
openSUSE Leap 16.0 ansible-core 2.18.3-160000.5.1 openSUSE-SU-2026:22172-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 ansible No fix yet —

Advisories 8

References