CVE-2026-16493
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.17%• Percentile: 7%
Techniques & Countermeasures
- CWE-88•Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
Affected Systems
- debian•ansible
all | < 5.4.0-1 | < 5.4.0-1 | < 5.4.0-1
- debian•ansible-core
all | all | all
- ubuntu•ansible
all | all | all
- ubuntu•ansible-core
all | all | all
References (8)
- https://access.redhat.com/security/cve/CVE-2026-16493
- https://bugzilla.redhat.com/show_bug.cgi?id=2503724
- https://ubuntu.com/security/CVE-2026-16493
- https://www.cve.org/CVERecord?id=CVE-2026-16493
- https://security-tracker.debian.org/tracker/CVE-2026-16493
- https://access.redhat.com/errata/RHSA-2026:63387
- https://access.redhat.com/errata/RHSA-2026:63385
- https://access.redhat.com/errata/RHSA-2026:63386