CVE-2026-16493: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in Red Hat Red Hat Ansible Automation Platform 2
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.
AI Analysis
Technical Summary
The vulnerability in ansible-core's concrete_artifact_manager.py involves the _extract_collection_from_git() function constructing git clone commands without the '--' end-of-options separator before user-supplied URLs. This omission enables an attacker to craft a collection source URI containing git argument injection payloads, which can be executed when a user runs 'ansible-galaxy collection install' with the malicious source. The flaw is a partial regression of CVE-2026-11332, which addressed a similar issue in the role install path but did not cover the collection install path. The CVSS 3.1 score is 7.8, indicating high severity with local attack vector, low attack complexity, no privileges required, user interaction required, unchanged scope, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary commands on the system with the privileges of the user running 'ansible-galaxy collection install'. This can lead to full compromise of the affected system, including unauthorized access, data modification, and service disruption.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisory linked does not explicitly state a fix or workaround at this time. Users should monitor the Red Hat advisory page for updates and avoid installing collections from untrusted sources until a fix is available.
CVE-2026-16493: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in Red Hat Red Hat Ansible Automation Platform 2
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.
CVSS v3.1
Score 7.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in ansible-core's concrete_artifact_manager.py involves the _extract_collection_from_git() function constructing git clone commands without the '--' end-of-options separator before user-supplied URLs. This omission enables an attacker to craft a collection source URI containing git argument injection payloads, which can be executed when a user runs 'ansible-galaxy collection install' with the malicious source. The flaw is a partial regression of CVE-2026-11332, which addressed a similar issue in the role install path but did not cover the collection install path. The CVSS 3.1 score is 7.8, indicating high severity with local attack vector, low attack complexity, no privileges required, user interaction required, unchanged scope, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary commands on the system with the privileges of the user running 'ansible-galaxy collection install'. This can lead to full compromise of the affected system, including unauthorized access, data modification, and service disruption.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisory linked does not explicitly state a fix or workaround at this time. Users should monitor the Red Hat advisory page for updates and avoid installing collections from untrusted sources until a fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-07-21T16:32:33.912Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-16493","vendor":"Red Hat"}]
Threat ID: 6a5faf7c2a4a8d598983229f
Added to database: 07/21/2026, 17:42:20 UTC
Last enriched: 07/21/2026, 17:58:09 UTC
Last updated: 07/21/2026, 21:11:17 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.