CVE-2026-71465: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in Red Hat Red Hat Ansible Automation Platform 2.6 for RHEL 9
RunAdHocCommand.build_args() appends limit as bare positional (args.append(limit)) instead of using args.extend(['-l', limit]) like RunJob. A limit beginning with - is parsed as an ansible CLI option. Currently limited to short-circuit flags (--version, --help) since injected element displaces required pattern positional. Would escalate if ansible-core ever defaults pattern.
AI Analysis
Technical Summary
The vulnerability arises because RunAdHocCommand.build_args() appends the 'limit' parameter directly to the argument list instead of using a safer method that explicitly specifies the '-l' option. If the 'limit' value starts with a dash, it is parsed as an Ansible CLI option, which can lead to argument injection. At present, this injection is limited to short-circuit flags such as --version and --help because the injected argument displaces the required pattern positional argument. The issue could escalate if ansible-core changes its default pattern behavior. The vulnerability is classified under CWE-88 (Improper Neutralization of Argument Delimiters in a Command).
Potential Impact
An attacker with low privileges could inject CLI arguments into Ansible commands via the 'limit' parameter, potentially altering execution logic or causing unintended behavior. The current impact is limited to integrity with low severity, as only short-circuit flags are injectable, and no confidentiality or availability impact is reported.
Mitigation Recommendations
As of the latest Red Hat advisory, no explicit fix or patch is mentioned. Patch status is not yet confirmed—check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-71465 for current remediation guidance. Users should monitor the advisory for updates and consider restricting input to the 'limit' parameter to prevent injection of CLI options.
CVE-2026-71465: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in Red Hat Red Hat Ansible Automation Platform 2.6 for RHEL 9
Description
RunAdHocCommand.build_args() appends limit as bare positional (args.append(limit)) instead of using args.extend(['-l', limit]) like RunJob. A limit beginning with - is parsed as an ansible CLI option. Currently limited to short-circuit flags (--version, --help) since injected element displaces required pattern positional. Would escalate if ansible-core ever defaults pattern.
CVSS v3.1
Score 3.1low
Affected software
Red Hat
Red Hat Ansible Automation Platform 2.6 for RHEL 9
Red Hat
Red Hat Ansible Automation Platform 2
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because RunAdHocCommand.build_args() appends the 'limit' parameter directly to the argument list instead of using a safer method that explicitly specifies the '-l' option. If the 'limit' value starts with a dash, it is parsed as an Ansible CLI option, which can lead to argument injection. At present, this injection is limited to short-circuit flags such as --version and --help because the injected argument displaces the required pattern positional argument. The issue could escalate if ansible-core changes its default pattern behavior. The vulnerability is classified under CWE-88 (Improper Neutralization of Argument Delimiters in a Command).
Potential Impact
An attacker with low privileges could inject CLI arguments into Ansible commands via the 'limit' parameter, potentially altering execution logic or causing unintended behavior. The current impact is limited to integrity with low severity, as only short-circuit flags are injectable, and no confidentiality or availability impact is reported.
Mitigation Recommendations
As of the latest Red Hat advisory, no explicit fix or patch is mentioned. Patch status is not yet confirmed—check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-71465 for current remediation guidance. Users should monitor the advisory for updates and consider restricting input to the 'limit' parameter to prevent injection of CLI options.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-08-06T19:31:51.453Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-71465","vendor":"Red Hat"}]
Threat ID: 6ab41efff7a7c541062f1a90
Added to database: 09/23/2026, 18:48:31 UTC
Last enriched: 09/23/2026, 19:03:54 UTC
Last updated: 09/24/2026, 01:57:03 UTC
Views: 9
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.