CVE-2026-71465: Automation-controller: automation-controller-container: automation-controller: ad-hoc command limit field allows cli argument injection into ansible executable

Published Aug 6, 2026
·
Updated

A flaw was found in automation-controller. RunAdHocCommand.buildargs() appends the limit field as a bare positional argument instead of using the -l flag prefix as RunJob does. An attacker can set the limit field to a value beginning with a dash, which is then parsed as an ansible CLI option. The impact is currently limited to short-circuit flags such as --version and --help because the injected element displaces the required pattern positional argument.

Other sources

RunAdHocCommand.buildargs() 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.

— MITRE

Affected Software

1 affected component
Red Hat Automation Controller

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Update RunAdHocCommand.build_args() to append the limit using args.extend(['-l', limit]) instead of appending the limit as a bare positional argument.

Event History

Aug 6, 2026
Data Sourced
via Red Hat·11:31 PM
DescriptionSeverityAffected Software
Sep 23, 2026
CVE Published
via MITRE·06:29 PM
Data Sourced
via MITRE·06:29 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:19 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs privileges to set the ad-hoc command limit field. The supplied data does not indicate that unauthenticated users can reach the vulnerable code path.

2

What input triggers the argument injection?

The limit field must begin with a dash so that it is interpreted as an ansible CLI option rather than a limit value. The affected argument construction passes this field as a bare positional argument.

3

What is the currently known impact?

The known impact is limited to short-circuit ansible options such as --version and --help, resulting in integrity impact. The injected argument displaces the required pattern positional argument, preventing broader option injection under current behavior.

4

Could the impact change over time?

Yes. The issue could escalate if ansible-core changes to provide a default pattern, because the displaced required pattern argument would no longer constrain injected CLI options.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203