p PatchFirst

CVE-2026-84714

CVE-2026-84714 · Automation-controller: automation-controller: incomplete sanitize_jinja() regex allows jinja template injection into ad-hoc module_args, machine-credential fields, and host names, reaching ansible-core templating in the execution environment

CVSS 7.1 · High · EPSS 0.5%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

A flaw was found in the automation-controller input-validation guard sanitize_jinja(). The function uses two regular expressions to reject user-supplied Jinja, but the patterns stop at the first interior '}' or '%' character, so a Jinja expression containing an inner brace (for example an empty dict) is accepted while remaining valid Jinja. Because sanitize_jinja() is the sole guard on several launch-time fields — ad-hoc command module_args, Machine-credential username / become_method / become_user, and inventory host names — a low-privileged user can inject Jinja that ansible-core evaluates in the execution environment. This enables execution of arbitrary commands in the execution environment (bypassing an administrator's AD_HOC_COMMANDS module allowlist) and disclosure of secrets belonging to credentials the attacker cannot read (by templating a co-attached credential's injected environment variables), across the credential access-control boundary.

Published
Updated

Fixes in distributions

  • RHSA-2026:71113 · Red Hat ansible automation platform 2.6 el10, Red Hat ansible automation platform 2.6 el9, Red Hat ansible automation platform developer 2.6 el10, Red Hat ansible automation platform developer 2.6 el9, Red Hat ansible automation platform inside 2.6 el9 ·
  • RHSA-2026:71114 · Red Hat ansible automation platform 2.5 el8, Red Hat ansible automation platform 2.5 el9, Red Hat ansible automation platform developer 2.5 el8, Red Hat ansible automation platform developer 2.5 el9, Red Hat ansible automation platform inside 2.5 el8, Red Hat ansible automation platform inside 2.5 el9 ·

Affected products and versions

Original sources

Check your server →