CVE-2026-84503 — Red Hat Migration Toolkit for Applications 8
Analysis
CVE-2026-84503: Argument injection in ansible-core's git module allows command execution (CVSS 6.7)
A flaw in ansible-core's ansible.builtin.git module lets a repository URL beginning with a dash be read as a git option, which can lead to command execution on the host running the module. The sources do not yet report known exploitation or published fixed versions.
Key points
- ansible-core's ansible.builtin.git module passes repository URLs without a "--" separator, enabling argument injection.
- A URL starting with a dash can be treated by git as an option, which can lead to command execution on the host.
- CVSS score is 6.7 (medium); impact depends on whether untrusted input can reach the URL parameter.
- Five Red Hat products are listed as affected, including Ansible Automation Platform 2.
- Fixed versions and exploitation status have not been published in the source material.
What's affected
The flaw is in the ansible.builtin.git module of ansible-core. According to the NVD entry, the module runs git commands (ls-remote, clone and fetch) and passes the repository URL as a positional argument without a "--" separator. Because of this, a URL that starts with a dash can be interpreted by git as a command-line option instead of a repository address.
The source material lists these affected products: Red Hat Migration Toolkit for Applications 8, Red Hat Migration Toolkit for Virtualization, Red Hat OpenShift Service Mesh 3, Red Hat Advanced Cluster Management for Kubernetes 2, and Red Hat Ansible Automation Platform 2. The source does not give affected version ranges or fixed builds.
How serious is it
The CVSS score is 6.7, rated medium. The risk depends on whether a caller passes a repository URL that an attacker can influence. If so, the flaw can result in arbitrary command execution on the host running the module. Exposure is highest where automation accepts URLs from untrusted sources, such as user-supplied parameters, external variables or self-service forms.
The source does not state whether the flaw is being exploited in the wild, and it does not mention public exploit code. Those details have not been published in the material available here.
What to do
Watch for vendor advisories that identify the fixed ansible-core and product versions, and apply them as soon as they are available. Until then, inventory playbooks, roles and automation jobs that use ansible.builtin.git, and confirm that repository URLs cannot come from untrusted input. Reject or sanitize URLs that begin with a dash before they reach the module. Review logs from automation hosts for unexpected git invocations, and limit the privileges of the accounts that run automation jobs.
Recommended actions
- Inventory playbooks and automation jobs that use ansible.builtin.git and identify any that take URLs from untrusted input.
- Reject or sanitize repository URLs that begin with a dash before they are passed to the module.
- Apply vendor fixes for ansible-core and the affected Red Hat products once fixed versions are published.
- Review automation host logs for unexpected git activity and restrict the privileges of automation execution accounts.
Summary
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.
Severity breakdown
Medium · 6.7
An attacker with a normal user account can exploit this with local access if a user is tricked into an action, but only under specific conditions.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- yes, a normal user account
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, integrity and availability
Weakness
- CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Red Hat Satellite 6.17 for RHEL 9 | versions without the fix | 1:2.16.19-4.el9sat |
| Red Hat Satellite 6.18 for RHEL 9 | versions without the fix | 1:2.16.19-4.el9sat |
References by type
Other references
Affected
- Red Hat Migration Toolkit for Applications 8
- Red Hat Migration Toolkit for Virtualization
- Red Hat OpenShift Service Mesh 3
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Ansible Automation Platform 2
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-84503?
A flaw in ansible-core's ansible.builtin.git module lets a repository URL beginning with a dash be read as a git option, which can lead to command execution on the host running the module. The sources do not yet report known exploitation or published fixed versions. Weakness type: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88).
How severe is CVE-2026-84503?
CVE-2026-84503 has a CVSS 3.1 base score of 6.7 (medium), from the CNA (redhat.com). An attacker with a normal user account can exploit this with local access if a user is tricked into an action, but only under specific conditions.
Is CVE-2026-84503 being exploited?
Not as far as is known: CVE-2026-84503 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-84503?
Red Hat Satellite 6.17 for RHEL 9 versions without the fix (fixed in 1:2.16.19-4.el9sat); Red Hat Satellite 6.18 for RHEL 9 versions without the fix (fixed in 1:2.16.19-4.el9sat).
How do I fix CVE-2026-84503?
Inventory playbooks and automation jobs that use ansible.builtin.git and identify any that take URLs from untrusted input. Reject or sanitize repository URLs that begin with a dash before they are passed to the module. Apply vendor fixes for ansible-core and the affected Red Hat products once fixed versions are published.
Timeline & sources
References
Related vulnerabilities & news
- Submariner PSK Flaw Enables MITM Attacks Through Shared Keys
- Datadog Agent Vulnerability Enables Local Code Execution Through Predictable File Storage
- hypershift-addon RBAC Misconfiguration Enables Unauthorized Cluster Access
- ansible-core Path Traversal Flaw (CVE-2026-130644)
- ansible-core: Path Traversal Vulnerability in Role Installation