CVE-2026-16493
7.8high
Ansible-core: argument injection in ansible-galaxy collection install via git clone (incomplete fix for cve-2026-11332)
- Severity
- 7.8high CVSS:3.1 by redhat
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ansible-core | Not specified Not affected: from 1:2.16.19-1.el9sat before * | CVE List |
| pulpcore-obsolete-packages | Not specified Not affected: from 0:1.3.1-5.el9pc before * | CVE List |
| python3.12-pulpcore | Not specified Not affected: from 0:3.73.30-3.el9pc before * | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://access.redhat.com/errata/RHSA-2026:63385 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:63386 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:63387 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2026-16493 | vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2503724 | issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-16493 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-16493 changed 2026-11-30 | Public domain |