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.
References10
- access.redhat.com/errata/RHSA-2026:42078
- access.redhat.com/errata/RHSA-2026:42079
- access.redhat.com/errata/RHSA-2026:42080
- access.redhat.com/errata/RHSA-2026:46836
- access.redhat.com/errata/RHSA-2026:50340
- access.redhat.com/errata/RHSA-2026:50344
- access.redhat.com/errata/RHSA-2026:50357
- access.redhat.com/errata/RHSA-2026:50479
- access.redhat.com/errata/RHSA-2026:57148
- access.redhat.com/errata/RHSA-2026:57149
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 13 · as of 15 November 2026
- CWE
- CWE-88
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.