ansible-core
Affected
- introduced
0, fixed2.16.19rc1(ecosystem)
Fixed versions
2.16.19rc1
Fix
- Fixed version
2.16.19rc1pip install --upgrade ansible-core==2.16.19rc1
Advisory
Also known as: CVE-2026-11332, PYSEC-2026-3458
ansible-core: Argument injection in ansible-galaxy role install leads to arbitrary code execution
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.
High Basis: The source's own band: HIGH
0, fixed 2.16.19rc1 (ecosystem)2.16.19rc1
2.16.19rc1pip install --upgrade ansible-core==2.16.19rc12.17.0b1, fixed 2.18.18rc1 (ecosystem)2.18.18rc1
2.18.18rc1pip install --upgrade ansible-core==2.18.18rc12.19.0b1, fixed 2.19.11rc1 (ecosystem)2.19.11rc1
2.19.11rc1pip install --upgrade ansible-core==2.19.11rc12.20.0b1, fixed 2.20.7rc1 (ecosystem)2.20.7rc1
2.20.7rc1pip install --upgrade ansible-core==2.20.7rc12.21.0b1, fixed 2.21.1rc1 (ecosystem)2.21.1rc1
2.21.1rc1pip install --upgrade ansible-core==2.21.1rc1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0