NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

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

highCVSS 3.1 7.8GHSA-w8p5-mx5w-cpqj

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.

Published Jun 5, 2026 · Updated Jul 16, 2026

Affected packages

ansible-core

Ecosystem
PyPI
Affected
< 2.16.19rc1
Fixed in
2.16.19rc1
Check
pip show ansible-core

ansible-core

Ecosystem
PyPI
Affected
>= 2.17.0b1, < 2.18.18rc1
Fixed in
2.18.18rc1
Check
pip show ansible-core

ansible-core

Ecosystem
PyPI
Affected
>= 2.19.0b1, < 2.19.11rc1
Fixed in
2.19.11rc1
Check
pip show ansible-core

ansible-core

Ecosystem
PyPI
Affected
>= 2.20.0b1, < 2.20.7rc1
Fixed in
2.20.7rc1
Check
pip show ansible-core

ansible-core

Ecosystem
PyPI
Affected
>= 2.21.0b1, < 2.21.1rc1
Fixed in
2.21.1rc1
Check
pip show ansible-core

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries