PYSEC-2026-3458

ansible-core: Argument injection in ansible-galaxy role install leads to arbitrary code execution

En bref

Publiée
Mise à jour
CVE
CVE-2026-11332
Alias
GHSA-w8p5-mx5w-cpqj
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

A flaw was found in ansible-core. The ansible-galaxy role install command processes dependency specifications from a role's meta/requirements.yml file. Due to improper neutralization of argument delimiters, a malicious role author can inject arbitrary git configuration flags through the src field. This allows arbitrary code execution on the machine of a user who installs the role via ansible-galaxy role install.

Paquets affectés

PaquetVersions
PyPI · ansible-coreintroduced 0, fixed 2.16.19rc1, introduced 2.17.0b1, fixed 2.18.18rc1, introduced 2.19.0b1, fixed 2.19.11rc1, introduced 2.20.0b1, fixed 2.20.7rc1, introduced 2.21.0b1, fixed 2.21.1rc1

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database