Vulnerability · Published Jul 21, 2026 · Assigned by redhat

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

High 7.8

In plain English

A high-severity argument injection in Red Hat Ansible Automation Platform 2 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.3%top 81.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ansible5.4.0-1DEBIAN-CVE-2026-16493
Debian:13ansible5.4.0-1DEBIAN-CVE-2026-16493
Debian:14ansible5.4.0-1DEBIAN-CVE-2026-16493
Debian:12ansible-coreno fix listedDEBIAN-CVE-2026-16493
Debian:13ansible-coreno fix listedDEBIAN-CVE-2026-16493
Debian:14ansible-coreno fix listedDEBIAN-CVE-2026-16493
Ubuntu:24.04:LTSansibleno fix listedUBUNTU-CVE-2026-16493
Ubuntu:26.04:LTSansibleno fix listedUBUNTU-CVE-2026-16493
Ubuntu:26.10ansibleno fix listedUBUNTU-CVE-2026-16493
Ubuntu:22.04:LTSansible-coreno fix listedUBUNTU-CVE-2026-16493
Ubuntu:24.04:LTSansible-coreno fix listedUBUNTU-CVE-2026-16493
Ubuntu:26.04:LTSansible-coreno fix listedUBUNTU-CVE-2026-16493
Ubuntu:26.10ansible-coreno fix listedUBUNTU-CVE-2026-16493

Affected products (as reported)

Weakness: CWE-88 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References