All reports
High

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

Affected versions

Version ranges need review.

Affected versions
>= 2.20.0b1, < 2.20.7rc1
Fixed version
2.20.7rc1
Affected versions
>= 2.21.0b1, < 2.21.1rc1
Fixed version
2.21.1rc1
Affected versions
< 2.16.19rc1
Fixed version
2.16.19rc1
Affected versions
>= 2.17.0b1, < 2.18.18rc1
Fixed version
2.18.18rc1
Affected versions
Unknown
Fixed version
2.16.19rc1 · 2.18.18rc1 · 2.19.11rc1 · 2.20.7rc1 · 2.21.1rc1
Affected versions
>= 2.19.0b1, < 2.19.11rc1
Fixed version
2.19.11rc1
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-11332

Probability of exploitation in the next 30 days: 0.22%

FIRST EPSS · 2026-11-23

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.

Links