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

State
Published
Severity
6.7 Medium
Published
Nov 9, 2026
Updated
Dec 1, 2026
Reserved
Sep 1, 2026

Read the record on cve.org

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.

ProductVersions
Red Hat Satellite 6.17 for RHEL 9 Red Hat1:2.16.19-4.el9sat and later Not Affected
Red Hat Satellite 6.17 for RHEL 9 Red Hat1:2.16.19-4.el9sat and later Not Affected
Red Hat Satellite 6.17 for RHEL 9 Red Hat1:2.16.19-4.el9sat and later Not Affected
Red Hat Satellite 6.18 for RHEL 9 Red Hat1:2.16.19-4.el9sat and later Not Affected
Red Hat Satellite 6.18 for RHEL 9 Red Hat1:2.16.19-4.el9sat and later Not Affected
Red Hat Satellite 6.18 for RHEL 9 Red Hat1:2.16.19-4.el9sat and later Not Affected
Migration Toolkit for Applications 8 Red Hat
Migration Toolkit for Virtualization Red Hat
OpenShift Service Mesh 3 Red Hat
Red Hat Advanced Cluster Management for Kubernetes 2 Red Hat
Red Hat Advanced Cluster Management for Kubernetes 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform 2 Red Hat
Red Hat Ansible Automation Platform Ansible Core 2 Red Hat
Red Hat Ansible Automation Platform Ansible Core 2 Red Hat
Red Hat Ansible Automation Platform Ansible Core 2 Red Hat
Red Hat Ansible Automation Platform Ansible Core 2 Red Hat
Red Hat Certification Program for Red Hat Enterprise Linux 9 Red Hat
Red Hat Discovery 2 Red Hat
Red Hat Enterprise Linux 10 Red Hat
Red Hat Enterprise Linux 8 Red Hat
Red Hat Enterprise Linux 9 Red Hat
Red Hat OpenShift Container Platform 4 Red Hat
Red Hat OpenShift Container Platform 5 Red Hat
Red Hat OpenStack Platform 17.1 Red Hat
Red Hat OpenStack Platform 17.1 Red Hat
Red Hat OpenStack Platform 17.1 Red Hat
Red Hat OpenStack Platform 18.0 Red Hat
Red Hat Update Infrastructure 5 Red Hat
Red Hat Update Infrastructure 5 Red Hat
Red Hat Update Infrastructure 5 Red Hat
Red Hat Update Infrastructure 5 Red Hat
Self-service automation portal 2 Red Hat
Service Telemetry Framework 1.5 Red Hat
Service Telemetry Framework 1.5 Red Hat

Weaknesses

  • CWE-88 Improper Neutralization of Argument Delimiters in a Command

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.