CVE-2026-16493
JSON

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 packageVersionsReported by
ansible-coreNot specified
Not affected: from 1:2.16.19-1.el9sat before *
CVE List
pulpcore-obsolete-packagesNot specified
Not affected: from 0:1.3.1-5.el9pc before *
CVE List
python3.12-pulpcoreNot specified
Not affected: from 0:3.73.30-3.el9pc before *
CVE List

Classification

CWE-88

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-16493 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-16493 changed 2026-11-30Public domain