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
CVE-2026-84503Published 9 Nov 2026, 17:57 UTC
Real-world risk
1.3/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.7
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from redhat)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Red Hat Enterprise LinuxUbiquitous | not stated | — |
| Red Hat OpenShift Container PlatformWidespread | not stated | — |
| Migration Toolkit for Applications 8Niche | not stated | — |
| Migration Toolkit for VirtualizationNiche | not stated | — |
| Red Hat Advanced Cluster Management for Kubernetes 2Niche | not stated | — |
| Red Hat Ansible Automation Platform 2Niche | not stated | — |
| Red Hat Certification Program for Red Hat Enterprise Linux 9Niche | not stated | — |
| Red Hat Discovery 1Niche | not stated | — |
| Red Hat OpenStack Platform 16.2Niche | not stated | — |
| Red Hat Satellite 6Niche | not stated | — |
| Red Hat Update Infrastructure 5Niche | not stated | — |
| Self-service automation portal 2Niche | not stated | — |
| Service Telemetry Framework 1.5Niche | not stated | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 8), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.158
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.1575 × threat 0.851.339
- Rounded to one decimal between 0.1 and 101.3
Exploitation and evidence timeline
- 9 Nov 2026 Published
- 2 Dec 2026 Risk 1.3 (cvss fallback)
Weakness
CWE-88
References
- https://access.redhat.com/errata/RHSA-2026:99950redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:99952redhat, vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-84503redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2527098issue-tracking, redhat
- CVE-2026-84503 on CVE.org