# CVE-2026-16493: Ansible-core: argument injection in ansible-galaxy collection install via git clone (incomplete fix for cve-2026-11332)

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-07-21T17:26:14.394Z
- Modified: 2026-11-30T21:17:31.310Z
- Weaknesses: CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- ansible-core: no versions given (not affected: from 1:2.16.19-1.el9sat before *)
- pulpcore-obsolete-packages: no versions given (not affected: from 0:1.3.1-5.el9pc before *)
- python3.12-pulpcore: no versions given (not affected: from 0:3.73.30-3.el9pc before *)

## 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

- CVE List: [CVE-2026-16493](https://www.cve.org/CVERecord?id=CVE-2026-16493), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-16493](https://nvd.nist.gov/vuln/detail/CVE-2026-16493), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-16493 · Whole record: https://cve.day/CVE-2026-16493.json · Rebuilt by cve.day 2026-11-30T21:32:13.534Z
