CVE-2026-16493
HIGHRed Hat ansible-core - ansible-galaxy Git Collection Argument Injection
Title source: manualDescription
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.
References (2)
Core 2
Core References
Vdb Entry, X_Refsource_Redhat vdb-entry
x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-16493
Issue Tracking, X_Refsource_Redhat issue-tracking
x_refsource_redhat
RHBZ#2503724
https://bugzilla.redhat.com/show_bug.cgi?id=2503724
Scores
CVSS v3
7.8
EPSS
0.0032
EPSS Percentile
24.0%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-88
Status
published
Products (5)
Red Hat/Red Hat Ansible Automation Platform 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 Satellite 6
Published
Jul 21, 2026
Tracked Since
Jul 21, 2026