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.
Published: 2026-11-09
Score: 6.7 Medium
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The flaw resides in Ansible‑Core’s ansible.builtin.git module, which starts the git command with the repository URL as a positional argument and omits the mandatory "--" separator. If the URL supplied by a caller begins with a dash, git interprets it as an option rather than a path, enabling an attacker to inject arbitrary git options such as --exec or --upload-pack. Execution of these options can reflect to arbitrary shell commands on the host running the playbook, thereby giving the attacker remote code execution capabilities through the ansible.builtin.git module. This type of vulnerability is classified as CWE‑88.

Affected Systems

Red Hat customers using product families that embed ansible-core are affected, including Migration Toolkit for Applications 8 and Migration Toolkit for Virtualization, OpenShift Service Mesh 3, Red Hat Advanced Cluster Management for Kubernetes 2. The Ansible Automation Platform 2 series, Ansible Core 2, OpenShift Container Platform 4 and 5, OpenStack Platform 17.1 and 18.0, and a wide range of Red Hat Enterprise Linux releases from 8 to 10 are all impacted. The list extends to auxiliary services such as the Discovery 2 portal, Self‑service Automation Portal 2, and Service Telemetry Framework 1.5.

Risk and Exploitability

The publicly available CVSS score of 6.7 indicates a moderate severity overall. Because the vulnerability requires the attacker to supply a specially crafted repository URL, the exploitation vector is typically through playbooks authored or controlled by the attacker or whose execution context the attacker can influence. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, indicating no confirmed public exploitation yet. Nevertheless, the potential for arbitrary command execution on any host that runs the vulnerable module mandates prompt remediation.

Generated by OpenCVE AI on November 9, 2026 at 19:35 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Red Hat security patch that updates ansible‑core to a version without the git argument injection flaw.
  • Review and sanitize all repository URLs used in ansible.builtin.git tasks to ensure they do not begin with a dash or include untrusted input; consider prefixing repository arguments with a safe separator such as "--" when invoking git manually.
  • If an immediate patch is not feasible, remove or lock the ansible.builtin.git module from playbooks that run on untrusted nodes until a fix is applied, and monitor playbook execution logs for any unexpected git arguments.

Generated by OpenCVE AI on November 9, 2026 at 19:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 18:15:00 +0000

Type Values Removed Values Added
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.
Title 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
First Time appeared Redhat
Redhat acm
Redhat ansible Automation Platform
Redhat ansible Core
Redhat ansible Portal
Redhat certifications
Redhat discovery
Redhat enterprise Linux
Redhat migration Toolkit Applications
Redhat migration Toolkit Virtualization
Redhat openshift
Redhat openstack
Redhat rhui
Redhat satellite
Redhat service Mesh
Redhat stf
Weaknesses CWE-88
CPEs cpe:/a:redhat:acm:2
cpe:/a:redhat:ansible_automation_platform:2
cpe:/a:redhat:ansible_core:2
cpe:/a:redhat:ansible_portal:2
cpe:/a:redhat:certifications:9
cpe:/a:redhat:discovery:2::el8
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/a:redhat:migration_toolkit_applications:8
cpe:/a:redhat:migration_toolkit_virtualization:2
cpe:/a:redhat:openshift:4
cpe:/a:redhat:openshift:5
cpe:/a:redhat:openstack:17.1
cpe:/a:redhat:openstack:18.0
cpe:/a:redhat:rhui:5::el9
cpe:/a:redhat:satellite:6
cpe:/a:redhat:service_mesh:3
cpe:/a:redhat:stf:1.5
Vendors & Products Redhat
Redhat acm
Redhat ansible Automation Platform
Redhat ansible Core
Redhat ansible Portal
Redhat certifications
Redhat discovery
Redhat enterprise Linux
Redhat migration Toolkit Applications
Redhat migration Toolkit Virtualization
Redhat openshift
Redhat openstack
Redhat rhui
Redhat satellite
Redhat service Mesh
Redhat stf
References
Metrics cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

Redhat Acm Ansible Automation Platform Ansible Core Ansible Portal Certifications Discovery Enterprise Linux Migration Toolkit Applications Migration Toolkit Virtualization Openshift Openstack Rhui Satellite Service Mesh Stf
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-11-09T17:57:01.391Z

Reserved: 2026-09-01T21:05:02.720Z

Link: CVE-2026-84503

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-09T18:17:34.233

Modified: 2026-11-09T18:17:34.377

Link: CVE-2026-84503

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T19:45:15Z

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')