CVE-2026-71465
RunAdHocCommand.build_args() appends limit as bare positional …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/security/cve/CVE-2026-71465
- bugzilla.redhat.com/show_bug.cgi?id=2512375
- access.redhat.com/errata/RHSA-2026:71113
- access.redhat.com/errata/RHSA-2026:71114
- access.redhat.com/errata/RHSA-2026:71177
- access.redhat.com/errata/RHSA-2026:71179
- nvd.nist.gov/vuln/detail/CVE-2026-71465
- cve.org/CVERecord?id=CVE-2026-71465
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.