| Name | CVE-2026-16493 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| ansible (PTS) | bullseye | 2.10.7+merged+base+2.10.17+dfsg-0+deb11u1 | vulnerable |
| bullseye (security) | 2.10.7+merged+base+2.10.17+dfsg-0+deb11u4 | vulnerable |
| bookworm | 7.7.0+dfsg-3+deb12u1 | fixed |
| trixie | 12.0.0+dfsg-0+deb13u1 | fixed |
| forky, sid | 14.0.0+dfsg-1 | fixed |
| ansible-core (PTS) | bookworm | 2.14.18-0+deb12u2 | vulnerable |
| trixie | 2.19.4-0+deb13u1 | vulnerable |
| forky, sid | 2.21.2-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| ansible | source | (unstable) | 5.4.0-1 | | | |
| ansible-core | source | (unstable) | (unfixed) | | | |
Notes
[trixie] - ansible-core <no-dsa> (Minor issue)
[bullseye] - ansible <postponed> (Needs only work when CVE-2026-11332 is fixed as well)
ansible-core was split off from src:ansible with 4.6.0-1 in experimental/5.4.0-1 in sid
https://bugzilla.redhat.com/show_bug.cgi?id=2503724
Issue exists due to an incomplete fix for CVE-2026-11332
check upstream details