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.
Severity (CVSS)
| Base score | 3.1 |
|---|---|
| Severity | Low |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-88 — Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 | 0:4.6.33-1.el8ap to <* |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 | 0:4.6.33-1.el9ap to <* |
| Red Hat | Red Hat Ansible Automation Platform 2.6 for RHEL 9 | 0:4.7.17-1.el9ap to <* |
| Red Hat | Red Hat Ansible Automation Platform 2.6 | 1789673739 to <* |
| Red Hat | Red Hat Ansible Automation Platform 2.7 | 1789580684 to <* |
References
- https://access.redhat.com/errata/RHSA-2026:71113 (vendor-advisory x_refsource_REDHAT)
- https://access.redhat.com/errata/RHSA-2026:71114 (vendor-advisory x_refsource_REDHAT)
- https://access.redhat.com/errata/RHSA-2026:71177 (vendor-advisory x_refsource_REDHAT)
- https://access.redhat.com/errata/RHSA-2026:71179 (vendor-advisory x_refsource_REDHAT)
- https://access.redhat.com/security/cve/CVE-2026-71465 (vdb-entry x_refsource_REDHAT)
- https://bugzilla.redhat.com/show_bug.cgi?id=2512375 (issue-tracking x_refsource_REDHAT)
Generated from the official CVE List on 24 Sep 2026 07:02 UTC.