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 score3.1
SeverityLow
VersionCVSS 3.1
VectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Provided byCNA

Weaknesses

  • CWE-88 — Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Affected products

VendorProductVersions
Red HatRed Hat Ansible Automation Platform 2.5 for RHEL 80:4.6.33-1.el8ap to <*
Red HatRed Hat Ansible Automation Platform 2.5 for RHEL 90:4.6.33-1.el9ap to <*
Red HatRed Hat Ansible Automation Platform 2.6 for RHEL 90:4.7.17-1.el9ap to <*
Red HatRed Hat Ansible Automation Platform 2.61789673739 to <*
Red HatRed Hat Ansible Automation Platform 2.71789580684 to <*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 24 Sep 2026 07:02 UTC.