Vulnerability · Published Jul 21, 2026 · Assigned by redhat
CVE-2026-16493Ansible-core: argument injection in ansible-galaxy collection install via git clone (incomplete fix for cve-2026-11332)
High 7.8
In plain English
A high-severity argument injection in Red Hat Ansible Automation Platform 2 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in ansible-core. The _extract_collection_from_git() function in ansible-core's concrete_artifact_manager.py constructs git clone commands without a '--' (end-of-options) separator before user-supplied URLs when installing collections from git sources. An attacker who provides a crafted collection source URI containing git argument injection payloads can achieve arbitrary command execution when a user runs 'ansible-galaxy collection install' with the malicious source. This is an incomplete fix for CVE-2026-11332, which hardened the role install path but missed the equivalent collection install code path.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ansible | 5.4.0-1 | DEBIAN-CVE-2026-16493 |
| Debian:13 | ansible | 5.4.0-1 | DEBIAN-CVE-2026-16493 |
| Debian:14 | ansible | 5.4.0-1 | DEBIAN-CVE-2026-16493 |
| Debian:12 | ansible-core | no fix listed | DEBIAN-CVE-2026-16493 |
| Debian:13 | ansible-core | no fix listed | DEBIAN-CVE-2026-16493 |
| Debian:14 | ansible-core | no fix listed | DEBIAN-CVE-2026-16493 |
| Ubuntu:24.04:LTS | ansible | no fix listed | UBUNTU-CVE-2026-16493 |
| Ubuntu:26.04:LTS | ansible | no fix listed | UBUNTU-CVE-2026-16493 |
| Ubuntu:26.10 | ansible | no fix listed | UBUNTU-CVE-2026-16493 |
| Ubuntu:22.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2026-16493 |
| Ubuntu:24.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2026-16493 |
| Ubuntu:26.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2026-16493 |
| Ubuntu:26.10 | ansible-core | no fix listed | UBUNTU-CVE-2026-16493 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | see references |
| Red Hat | Red Hat Satellite 6.18 for RHEL 9 | see references |
| Red Hat | Red Hat Satellite 6.18 for RHEL 9 | see references |
| Red Hat | Red Hat Satellite 6.18 for RHEL 9 | see references |
| Red Hat | Red Hat Satellite 6.19 for RHEL 9 | see references |
| Red Hat | Red Hat Ansible Automation Platform 2 | see references |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-88 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- RHSA-2026:63385 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:63386 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:63387 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-16493 vdb-entry, x_refsource_REDHAT
- RHBZ#2503724 issue-tracking, x_refsource_REDHAT