Command Injection Vulnerability in Ansible Core Constructor by Red Hat
CVE-2026-16493
7.8HIGH
Key Information:
- Vendor
Red Hat
- Status
- Vendor
- CVE Published:
- 21 July 2026
What is CVE-2026-16493?
A vulnerability exists in Ansible Core where the _extract_collection_from_git() function constructs git clone commands without a proper separator before user-supplied URLs. This oversight permits an attacker to provide a malicious collection source URI with crafted payloads, leading to arbitrary command execution upon executing 'ansible-galaxy collection install'. The flaw is a continuation of issues addressed in a prior fix, which targeted the role install path but overlooked the similar collection install procedures.
Affected Version(s)
Red Hat Satellite 6.17 for RHEL 9 1:2.16.19-1.el9sat
Red Hat Satellite 6.18 for RHEL 9 1:2.16.19-1.el9sat
Red Hat Satellite 6.18 for RHEL 9 0:1.3.1-5.el9pc
References
CVSS V3.1
Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Red Hat would like to thank Ta Duc Thien (NTCS) for reporting this issue.