Junglewise Threat Intelligence

CVE-2026-71465: RunAdHocCommand.build_args() appends limit as bare positional (args.append(limit)) instead of using args.extend(

CVE-2026-71465 · Severity: low · CVSS 3.1 · Published 2026-09-23

Executive brief

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.

References