Skip to main content

ansible-core EUVDEUVD-2026-120161

| CVE-2026-84503 MEDIUM
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-11-09 secalert@redhat.com GHSA-537w-5jw6-89cf
6.7
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Inject attacker-controlled repo URL into playbook var
  2. Exploit
    Dash-prefixed URL parsed by git as option
  3. Execution
    git runs --upload-pack/--exec payload
  4. Impact
    Arbitrary command execution on module host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
Exploitation Conditions

Exploitation requires that a caller pass an attacker-controlled repository URL into the ansible.builtin.git module, and that the URL begin with a dash so git interprets it as an option (for example --upload-pack or --exec) rather than a repository, because the module invokes git ls-remote/clone/fetch with the URL as a positional argument and without a '--' separator. It is NOT exploitable against a static playbook with a fixed, trusted repo URL. Limiting factors confirmed by the CVSS vector: local attack vector (AV:L), high attack complexity (AC:H), authenticated/low-privilege access (PR:L), and required user interaction (UI:R) - an operator must actually run the affected playbook. Realistic exposure is therefore concentrated in setups where the git repo URL derives from untrusted or externally-influenced input (dynamic inventory, CI/CD parameters, templated variables).

Impact

This is a moderate-severity, context-dependent flaw rather than a drop-everything emergency. The supplied CVSS:3.1 vector (AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H, score 6.7) tells a consistent story: although the impact is full compromise (C:H/I:H/A:H via arbitrary command execution), exploitation is gated by local vector, high attack complexity, low-but-nonzero privileges, and required user interaction - all of which depress real-world urgency. The vuln.today decision label is 'this_month', not act_now or emergency, which aligns with the CVSS picture. No EPSS score, no CISA KEV listing, and no PoC reference are present in the input, so there is no evidence of active exploitation or available exploit code. The core conditional risk is that the vulnerability is only reachable when a caller feeds an attacker-controlled repository URL into the ansible.builtin.git module - it is not a flaw that fires against a default, static playbook. The realistic worry is environments where repo URLs derive from untrusted or externally-influenced variables (dynamic inventories, CI/CD parameters, templated vars). Net: a genuine but second-tier priority - patch on a normal cycle, and prioritize sooner specifically where git repo URLs can be externally influenced.

Exploit ScenarioDerived

An automation pipeline passes a repository URL into the ansible.builtin.git module from an externally-influenced variable; an attacker who controls that value supplies a URL beginning with a dash, such as '--upload-pack=touch /tmp/pwned', which git parses as a command-line option rather than a repository. When an operator runs the playbook, git executes the attacker's command on the host running the module. No public exploit is identified in the provided data, so this scenario is inferred from the description and CVSS metrics.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Argument injection in the ansible.builtin.git module of ansible-core lets a caller who supplies a repository URL beginning with a dash have git interpret that URL as an option (for example --upload-pack or --exec), yielding arbitrary command execution on the host that runs the module. The flaw is rated CVSS 6.7 (AV:L/AC:H/PR:L/UI:R) and is context-dependent: it is not exploitable against a playbook that uses a fixed, trusted repository URL, and realistic exposure is concentrated in setups where the git repo URL derives from untrusted or externally-influenced input such as dynamic inventory, CI/CD parameters, or templated variables, with an operator then running the affected playbook. No confirmed active exploitation (CISA KEV) and no verified working exploit code are indicated in the available data; no public exploit was identified at time of analysis. Priority is assessed as this_month - a moderate, context-dependent issue rather than a drop-everything emergency.

RemediationAI

No vendor-released patch version is identified in the available data, so the current fixed build must be confirmed from the Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-84503) and the associated Bugzilla record (https://bugzilla.redhat.com/show_bug.cgi?id=2527098) before upgrading ansible-core. Because the assessed precondition is that an attacker controls the repository URL and that it begins with a dash, the actionable control supported by the assessment is to constrain the URL input to trusted, fixed values - the assessment states the flaw is not exploitable against a static playbook with a fixed, trusted repo URL. Where a URL must be dynamic, treat the git repo URL as a trusted parameter rather than untrusted data, i.e. avoid sourcing it directly from dynamic inventory, CI/CD parameters, or templated variables that external parties can influence, with the trade-off that this reduces flexibility for multi-repo automation. Applying an allowlist or rejecting URL values whose first character is a dash closes the specific injection path at the input layer, but the trade-off is that it must be enforced upstream of the module (for example in the calling role or CI pipeline) and will not protect callers that bypass the check. The decision label for this CVE is this_month, so remediation should be scheduled in the normal monthly patch cycle rather than treated as an emergency; note that no public exploit was identified at time of analysis.

Affected ProductsAI

The affected component is the ansible.builtin.git module shipped with ansible-core, as reported by secalert@redhat.com and tracked under CVE-2026-84503. The supplied intelligence does not include CPE strings or an explicit version range, so the precise affected and fixed ansible-core releases cannot be stated from the available data; version applicability must be confirmed against the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-84503 and the Red Hat Bugzilla entry at https://bugzilla.redhat.com/show_bug.cgi?id=2527098. Exposure is not universal across deployments: environments whose playbooks reference a fixed, trusted repository URL are described as not exploitable, while those that feed externally-influenced URLs (dynamic inventory, CI/CD parameters, templated variables) into the git module are the realistic at-risk population.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-88, argument injection (improper neutralization of argument delimiters), in the ansible.builtin.git module. The module invokes git (ls-remote, clone, fetch) with the repository URL as a positional argument and without a "--" separator that would terminate option parsing. Consequently, a URL whose first character is a dash is parsed by git as a command-line option rather than as a repository location; options such as --upload-pack or --exec let the caller redirect git into invoking an arbitrary program, which is the path to command execution on the module host. The supplied CVSS vector describes severity and prerequisites rather than the mechanism: AV:L (local), AC:H (high), PR:L (low privileges required), UI:R (user interaction required) - an operator must actually run the affected playbook - with C:H/I:H/A:H. The trigger is described in the available sources as the combination of a caller-controlled URL and its use as an unseparated positional argument; the assessment explicitly confirms the flaw is not exploitable against a static playbook with a fixed, trusted repo URL. The underlying technology is git's option-parsing behavior combined with Ansible module argument handling, not a memory-safety defect.

Know when Ansible gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 6.7 MEDIUM
AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 6.7 MEDIUM

Trigger needs a caller to feed an attacker-influenced URL and an operator to run the playbook, so AV:L/AC:H/PR:L/UI:R; successful injection yields full command execution, so C/I/A:H.

3.1 AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 6.7 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
High
ansible-core is a widely deployed enterprise automation engine across Linux estates
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

CVE-2015-1482 MEDIUM POC
5.0 Feb 04

Ansible Tower (aka Ansible UI) before 2.0.5 allows remote attackers to bypass authentication and obtain sensitive inform

CVE-2015-1481 MEDIUM POC
6.5 Feb 04

Ansible Tower (aka Ansible UI) before 2.0.5 allows remote organization administrators to gain privileges by creating a s

CVE-2015-1368 MEDIUM POC
4.3 Jan 27

Multiple cross-site scripting (XSS) vulnerabilities in Ansible Tower (aka Ansible UI) before 2.0.5 allow remote attacker

CVE-2019-10217 MEDIUM POC
6.5 Nov 25

A flaw was found in ansible 2.8.0 before 2.8.4. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploit

CVE-2017-7550 CRITICAL
9.8 Nov 21

A flaw was found in the way Ansible (2.3.x before 2.3.3, and 2.4.x before 2.4.1) passed certain parameters to the jenkin

CVE-2021-33924 CRITICAL
9.8 Sep 29

Confluent Ansible (cp-ansible) version 5.5.0, 5.5.1, 5.5.2 and 6.0.0 is vulnerable to Incorrect Access Control via its a

CVE-2020-1733 MEDIUM POC
5.0 Mar 11

A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a play

CVE-2014-3498 HIGH
8.8 Jun 08

The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands. Rated high seve

CVE-2026-89091 HIGH
8.8 Oct 08

Symlink-following file overwrite on the Ansible control node is possible in ansible-core when a user runs `ansible-galax

CVE-2020-1735 MEDIUM POC
4.6 Mar 16

A flaw was found in the Ansible Engine when the fetch module is used. Rated medium severity (CVSS 4.6), this vulnerabili

CVE-2026-105929 HIGH
8.1 Nov 18

ansible-galaxy role installation in ansible-core allows a malicious role publisher to write attacker-supplied files outs

CVE-2026-87874 HIGH
8.1 Sep 09

Remote code execution via unsafe Python pickle deserialization in the community.general Ansible collection's memcached f

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy