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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-11332US | — | — | ||
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 neutralizati… | ||||
02
references
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/CVE-2026-11332WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2485379WEB
- https://github.com/advisories/GHSA-w8p5-mx5w-cpqjADVISORY
- https://github.com/ansible/ansiblePACKAGE
- https://github.com/ansible/ansible/commit/edee59aa15abcc74d920bb3e9c3835ab8db05a2fWEB
- https://github.com/ansible/ansible/pull/87070WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-11332ADVISORY
- https://pypi.org/project/ansible-corePACKAGE
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan