Skip to content
Red HatCVE-2026-16493

Red Hat ansible-core: argument injection

High7.8CVE-2026-16493 · Published Jul 21, 2026 · updated Sep 4, 2026

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.

Red Hat advisory

Affected versions

PackageAffectedFixed in
Red Hat Ansible Automation Platform 2
Product
all versionsNo fix yet
Red Hat Enterprise Linux 10
Product
all versionsNo fix yet
Red Hat Enterprise Linux 8
Product
all versionsNo fix yet
Red Hat Enterprise Linux 9
Product
all versionsNo fix yet
Details and references

More Red Hat advisories

All Red Hat
Advisory
Red Hat libarchive: integer overflow
Low2.9Jul 21
Red Hat Enterprise Linux 10: information disclosure
Low3.4Jul 21
Red Hat Enterprise Linux 10: out-of-bounds read
Medium4.2Jul 21
Red Hat libssh. Logic errors: denial of service
Low3.1Jul 21
Red Hat libssh: use after free
Medium4.3Jul 21
Red Hat libssh. On: improper authorization
High8.8Jul 21

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.