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.
Published: 2026-09-23
Score: 3.1 Low
EPSS: n/a
KEV: No
Impact: Potential CLI argument injection into Ansible execution with limited current effect
Action: Assess Impact
AI Analysis

Impact

RunAdHocCommand.build_args() incorrectly appends the limit value to the Ansible command line without sanitization. A string that begins with a hyphen is parsed as a new CLI option, so the attacker can inject short‑circuit flags such as --version or --help. The description notes that only these short‑circuit flags are usable right now, but if ansible-core changes its default pattern the attacker could insert other options, potentially affecting execution or revealing information.

Affected Systems

Red Hat Ansible Automation Platform 2. The vulnerability is present in this product, but no additional sub‑version detail is provided in the entry.

Risk and Exploitability

The CVSS score of 3.1 reflects a low severity. EPSS information is not available, and the issue is not listed in CISA’s KEV catalog, suggesting that widespread exploitation has not yet occurred. The attack vector would involve exploiting the ad‑hoc command interface of the Automation Controller, which normally requires user or admin privileges. Because only very simple CLI options are currently exploitable, the immediate risk to confidentiality, integrity or availability remains low, but it could become more significant if the underlying Ansible parser changes.

Generated by OpenCVE AI on September 23, 2026 at 19:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Red Hat Ansible Automation Platform updates that contain the fix for this injection issue.
  • Validate the limit field before it is passed to the command line, rejecting or sanitizing any value that begins with a hyphen as a safety measure targeting CWE‑88.
  • Restrict the creation of ad‑hoc commands to trusted users only, and use role‑based access controls to limit who can supply arbitrary limit values.

Generated by OpenCVE AI on September 23, 2026 at 19:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 23 Sep 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Redhat ansible Automation Platform Developer
Redhat ansible Automation Platform Inside
CPEs cpe:/a:redhat:ansible_automation_platform:2.6::el10
cpe:/a:redhat:ansible_automation_platform:2.6::el9
cpe:/a:redhat:ansible_automation_platform_developer:2.6::el10
cpe:/a:redhat:ansible_automation_platform_developer:2.6::el9
cpe:/a:redhat:ansible_automation_platform_inside:2.6::el9
Vendors & Products Redhat ansible Automation Platform Developer
Redhat ansible Automation Platform Inside
References

Wed, 23 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 23 Sep 2026 18:45:00 +0000

Type Values Removed Values Added
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.
Title Automation-controller: automation-controller-container: automation-controller: ad-hoc command limit field allows cli argument injection into ansible executable
First Time appeared Redhat
Redhat ansible Automation Platform
Weaknesses CWE-88
CPEs cpe:/a:redhat:ansible_automation_platform:2
Vendors & Products Redhat
Redhat ansible Automation Platform
References
Metrics cvssV3_1

{'score': 3.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N'}


Subscriptions

Redhat Ansible Automation Platform Ansible Automation Platform Developer Ansible Automation Platform Inside
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-23T22:29:29.549Z

Reserved: 2026-08-06T19:31:51.453Z

Link: CVE-2026-71465

cve-icon Vulnrichment

Updated: 2026-09-23T19:04:49.362Z

cve-icon NVD

Status : Received

Published: 2026-09-23T19:19:03.500

Modified: 2026-09-23T20:17:14.153

Link: CVE-2026-71465

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T19:45:08Z

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')