CVE-2026-16493
highA flaw was found in ansible-core.
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://access.redhat.com/errata/RHSA-2026:63385 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:63386 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:63387 secalert@redhat.com
- https://access.redhat.com/security/cve/CVE-2026-16493 secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2503724 secalert@redhat.com

