CVE-2026-16493
Ansible-core: argument injection in ansible-galaxy collection install via git clone (incomplete fix for cve-2026-11332)
- State
- Published
- Severity
- 7.8 High
- Published
- Jul 21, 2026
- Updated
- Sep 4, 2026
- Reserved
- Jul 21, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Affected Products
| Product | Versions |
|---|---|
Red Hat Satellite 6.17 for RHEL 9Red Hat |
|
Red Hat Satellite 6.18 for RHEL 9Red Hat |
|
Red Hat Satellite 6.18 for RHEL 9Red Hat |
|
Red Hat Satellite 6.18 for RHEL 9Red Hat |
|
Red Hat Satellite 6.19 for RHEL 9Red Hat |
|
Red Hat Ansible Automation Platform 2Red Hat | |
Red Hat Enterprise Linux 10Red Hat | |
Red Hat Enterprise Linux 8Red Hat | |
Red Hat Enterprise Linux 9Red Hat |
References
- RHSA-2026:63385vendor-advisory
- RHSA-2026:63386vendor-advisory
- RHSA-2026:63387vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-16493vdb-entry
- RHBZ#2503724issue-tracking
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.