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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| Red Hat Ansible Automation Platform 2 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 10 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 8 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 9 Product | all versions | No fix yet |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-88
More Red Hat advisories
All Red Hat| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jul 21 | Red Hat libarchive: integer overflow | Low2.9 | No fix yet |
| Jul 21 | Red Hat Enterprise Linux 10: information disclosure | Low3.4 | No fix yet |
| Jul 21 | Red Hat Enterprise Linux 10: out-of-bounds read | Medium4.2 | No fix yet |
| Jul 21 | Red Hat libssh. Logic errors: denial of service | Low3.1 | No fix yet |
| Jul 21 | Red Hat libssh: use after free | Medium4.3 | No fix yet |
| Jul 21 | Red Hat libssh. On: improper authorization | High8.8 | No fix yet |