CVE-2026-16493

high
Published 2026-07-21 · Modified 2026-07-22
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4 NEW
not yet in upstream
VIR risk
7.8

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.

Predictions

Exploit likelihood
75%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker · View original ↗ · DFSG

CVE-2026-16493 NameCVE-2026-16493 DescriptionA 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…

CVE-2026-16493

NameCVE-2026-16493
DescriptionA 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.
SourceCVE (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 PackageReleaseVersionStatus
ansible (PTS)bullseye2.10.7+merged+base+2.10.17+dfsg-0+deb11u1vulnerable
bullseye (security)2.10.7+merged+base+2.10.17+dfsg-0+deb11u4vulnerable
bookworm7.7.0+dfsg-3+deb12u1fixed
trixie12.0.0+dfsg-0+deb13u1fixed
forky, sid14.0.0+dfsg-1fixed
ansible-core (PTS)bookworm2.14.18-0+deb12u2vulnerable
trixie2.19.4-0+deb13u1vulnerable
forky2.21.1~rc1-2vulnerable
sid2.21.2-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ansiblesource(unstable)5.4.0-1
ansible-coresource(unstable)(unfixed)

Notes

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

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
ansible-core was split off from src:ansible with 4.6.0-1 in experimental/5.4.0-1 in sidhttps://bugzilla.redhat.com/show_bug.cgi?id=2503724Issue exists due to an incomplete fix for CVE-2026-11332check upstream details

OS impact

debian Debian Mixed 5 releases
VersionStatusFixed in
trixie Fixed 5.4.0-1
sid Fixed 5.4.0-1
forky Fixed 5.4.0-1
bullseye Affected
bookworm Fixed 5.4.0-1

References

CWEs

CWE-88

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.