GHSA-j69q-g7fm-7qpmLowCVSS 3.1

RunAdHocCommand.build_args() appends limit as bare positional (args.append(limit))...

Published
September 23, 2026
Last Modified
September 24, 2026

🔗 CVE IDs covered (1)

📋 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.

🔗 References (5)