CVE-2026-84503
Ansible-core: ansible-core: ansible.builtin.git invokes git without a -- separator, allowing argument injection via a --leading repository url (e.g. --upload-pack) -> rce
6.7
Description
A flaw was found in ansible-core's ansible.builtin.git module. The module
invokes git (ls-remote, clone, fetch) with the repository URL as a positional
argument and without a "--" separator, so a repository URL that begins with a
dash is interpreted by git as a command-line option. A caller that passes an
attacker-controlled repository URL to the module can trigger argument
injection (for example --upload-pack/--exec), resulting in arbitrary command
execution on the host running the module.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| red hat satellite 6.17 for rhel 9 | red hat | — | — | CVE.org |
| 6.17 | satellite | — | — | CVE.org |
| 6.17 | satellite capsule | — | — | CVE.org |
| 6.17 | satellite maintenance | — | — | CVE.org |
| 6.17 | satellite utils | — | — | CVE.org |
| red hat satellite 6.18 for rhel 9 | red hat | — | — | CVE.org |
| 6.18 | satellite | — | — | CVE.org |
| 6.18 | satellite capsule | — | — | CVE.org |
| 6.18 | satellite maintenance | — | — | CVE.org |
| 6.18 | satellite utils | — | — | CVE.org |
| migration toolkit for applications 8 | red hat | — | — | CVE.org |
| migration toolkit for virtualization | red hat | — | — | CVE.org |
| openshift service mesh 3 | red hat | — | — | CVE.org |
| red hat advanced cluster management for kubernetes 2 | red hat | — | — | CVE.org |
| red hat ansible automation platform 2 | red hat | — | — | CVE.org |
| red hat ansible automation platform ansible core 2 | red hat | — | — | CVE.org |
| red hat certification program for red hat enterprise linux 9 | red hat | — | — | CVE.org |
| red hat discovery 2 | red hat | — | — | CVE.org |
| 2 | discovery | — | — | CVE.org |
| red hat enterprise linux 10 | red hat | — | — | CVE.org |
| red hat enterprise linux 8 | red hat | — | — | CVE.org |
| red hat enterprise linux 9 | red hat | — | — | CVE.org |
| red hat openshift container platform 4 | red hat | — | — | CVE.org |
| red hat openshift container platform 5 | red hat | — | — | CVE.org |
| red hat openstack platform 17.1 | red hat | — | — | CVE.org |
| red hat openstack platform 18.0 | red hat | — | — | CVE.org |
| red hat update infrastructure 5 | red hat | — | — | CVE.org |
| 5 | rhui | — | — | CVE.org |
| self-service automation portal 2 | red hat | — | — | CVE.org |
| service telemetry framework 1.5 | red hat | — | — | CVE.org |