Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to AAP with launch rights
-
DeliverySubmit ad hoc command with limit starting with '-'
-
Exploitlimit appended as bare positional arg
-
Executionansible-core parses it as CLI option
-
ImpactShort-circuit flag (--version/--help) alters invocation
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | Requires an authenticated AAP user (PR:L) with permission to run ad hoc commands, who must supply a |
| Impact | This is a genuinely low-priority issue, and the signals are consistent rather than conflicting. The Red Hat-assigned CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N, base 3.1) reflects an authenticated (PR:L), high-complexity (AC:H) argument-injection flaw with only Low integrity impact and no confidentiality or availability impact - an accurate characterization of a latent defect. No EPSS score, no CISA KEV listing, and no public POC were provided, so there is no evidence of exploitation interest. Critically, the description itself states the flaw is 'currently limited to short-circuit flags (--version, --help)' because the injected element displaces the required ansible |
| Exploit ScenarioDerived | An authenticated Ansible Automation Platform user with permission to launch an ad hoc command supplies a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 23, 2026
Argument injection in the ad hoc command builder of Red Hat Ansible Automation Platform 2 lets an authenticated user who is permitted to run ad hoc commands smuggle ansible CLI options by passing a host-restriction (limit) value beginning with a hyphen, which ansible-core then parses as an option flag. Impact today is minimal (CVSS 3.1, CWE-88): because the injected token displaces the required pattern positional argument, only short-circuit flags such as --version and --help are reachable, so integrity impact is limited to low and no arbitrary option or command control is achievable. There is no public exploit identified at time of analysis, and the issue would only escalate if a future ansible-core release were to default or make optional the pattern positional - a hypothetical, non-default upstream change rather than current behavior.
RemediationAI
No vendor-released patch is identified in the available data, so treat this as unfixed at time of analysis and monitor the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-71465 and Bugzilla 2512375 for the fixing erratum and version. The most effective compensating control is least-privilege RBAC: restrict the ability to run ad hoc commands (and the associated limit parameter) to trusted operators only, since exploitation requires an authenticated account with that specific permission - the trade-off is reduced operational flexibility for day-to-day users. Where ad hoc command access must be broadly granted, validate host-restriction input at the boundary and reject or strip any limit value whose first character is - (or, more strictly, enforce a hostname/pattern allowlist), accepting the trade-off that legitimate values containing leading hyphens become unusable. Teams with source control over their automation controller deployment can additionally apply the upstream-style fix locally by changing the ad hoc builder to pass the limit as a bound option (-l <limit>) rather than a bare positional, mirroring the already-correct RunJob implementation; this is a code change that must be re-applied on upgrade. Because current exploitability is capped at short-circuit flags such as --version and --help, prioritization can remain low relative to remediations with confirmed active exploitation.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a textbook CWE-88 argument-delimiter injection in Ansible's ad hoc command construction code. RunAdHocCommand.build_args() appends the user-supplied limit value as a bare positional argument via args.append(limit), whereas the equivalent RunJob path correctly binds it as an option using args.extend(['-l', limit]). Because the raw value is placed in a positional slot, a value whose first character is - is reinterpreted by the ansible-core argument parser as a command-line switch rather than a host restriction, letting the caller influence the CLI invocation. The practical reach of the injection is constrained by the surrounding argument grammar: the injected element shifts the real pattern positional out of position, so only flags that terminate execution immediately (--version, --help) are usable. The CVSS vector AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N reflects a network-reachable, authenticated-only, high-complexity attack with low integrity impact and no confidentiality or availability effect. CPE data identifies Red Hat Ansible Automation Platform 2 as the affected product family, tracked by Red Hat via CVE-2026-71465 and Bugzilla 2512375.
Know when Red Hat Ansible Automation Platform 2 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Authenticated API user (PR:L) over the network (AV:N); AC:H because the injection is self-limiting to short-circuit flags; only Low integrity impact, no C or A.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Affected Products (CPE)CVE.org
Missing authorization checks in the Red Hat Ansible Automation Platform 2 automation-controller allow an authenticated o
Authenticated users who hold permission to create or modify a project within a single organization can execute arbitrary
Privilege escalation and remote code execution on managed hosts is possible in Red Hat Ansible Automation Platform 2 bec
Credential disclosure in Red Hat Ansible Automation Platform 2.5 and 2.6 allows any authenticated user to retrieve plain
Server-side request forgery in the Red Hat Ansible Automation Platform 2 Controller's HashiCorp Vault credential plugin
Privilege escalation in Red Hat Ansible Automation Platform 2 (built on the AWX upstream project) lets an authenticated
Arbitrary file write in pulpcore's FilesystemExport feature allows an authenticated administrator to escape the intended
Symlink-following file overwrite on the Ansible control node is possible in ansible-core when a user runs `ansible-galax
Stored cross-site scripting in the automation-controller component of Red Hat Ansible Automation Platform 2 lets an auth
An authenticated automation-controller administrator in Red Hat Ansible Automation Platform 2 can turn the administrator
Jinja2 template injection in Ansible Operator Plugins (CWE-1336) lets an authenticated Kubernetes user who can create or
Missing object-level authorization in the JobTemplate copy endpoint (CopyAPIView) of AWX and Red Hat Ansible Automation
EUVD-2026-85542
GHSA-j69q-g7fm-7qpm
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB