cve.bz

CVE-2026-92982 Ansible-operator-plugins: ansible operator plugins: arbitrary code execution via jinja2 template injection

8.5 highEPSS 0.5%Fix available

High (8.5) in red hat. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in Ansible Operator Plugins. A low-privileged Kubernetes user can exploit a Jinja2 template injection vulnerability by crafting malicious custom resource (CR) specification values. These values are processed by Ansible without proper sanitization, allowing embedded Jinja2 expressions to be executed within the operator pod. This can lead to arbitrary code execution and privilege escalation, granting the attacker control over the operator's service account with cluster-wide permissions.

Severity

CVSS 3.1

8.5 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Ansible Automation Platform 2.6: fixed in 1791840864
  • Red Hat Red Hat Ansible Automation Platform 2.7: fixed in 1792138238
  • Red Hat Red Hat OpenShift Service Mesh 3.4: fixed in 1789021200

Ask an AI about this CVE

Show the promptExplain CVE-2026-92982 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-92982?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-92982?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-92982 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • red hat:migration toolkit for applications 8
  • red hat:migration toolkit for containers
  • red hat:migration toolkit for virtualization
  • red hat:red hat advanced cluster management for kubernetes 2
  • red hat:red hat ansible automation platform 2
  • red hat:red hat ansible automation platform 2.6
  • red hat:red hat ansible automation platform 2.7
  • red hat:red hat openshift container platform 4
  • red hat:red hat openshift container platform 5
  • red hat:red hat openshift service mesh 3.4
  • red hat:red hat openshift virtualization 4
  • red hat:red hat openstack platform 16.2
  • red hat:red hat openstack platform 17.1
  • red hat:red hat openstack platform 18.0
  • red hat:service telemetry framework 1.5

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Ansible Automation Platform 2.61791840864
Red Hat Ansible Automation Platform 2.71792138238
Red Hat OpenShift Service Mesh 3.41789021200

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat has evaluated this vulnerability as having an Important impact rather than Critical because exploitation is bounded by the prerequisite of having authenticated access to create or modify custom resources. Upon reconciliation, malicious template syntax embedded in the resource specification executes within the operator environment, exposing the service account's cluster-level privileges. In default Red Hat deployments utilizing Ansible-based operators, watched resource attributes are automatically forwarded into the runner environment without unsafe designation. Operators constructed with Go or Helm frameworks do not utilize this templating workflow and are not affected.

Red Hat's mitigation

To mitigate this vulnerability, configure the Ansible Operator watch to explicitly mark custom resource (CR) spec values as unsafe. This can be achieved by setting `markUnsafe: true` in the `watches.yaml` configuration for the affected operator. This action prevents Jinja2 template injection by ensuring CR spec fields are not evaluated as templates. A restart of the operator pod may be required for the changes to take effect.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/lightspeed-rhel9-operator:1791840864Fixed 2026-10-21RHSA-2026:87120
Red Hat Ansible Automation Platform 2.7ansible-automation-platform-27/lightspeed-rhel9-operator:1792138238Fixed 2026-10-21RHSA-2026:87124
Red Hat OpenShift Service Mesh 3.4openshift-service-mesh/kiali-rhel9-operator:1789021200Fixed 2026-09-17RHSA-2026:68695
Migration Toolkit for Applications 8mta/mta-rhel9-operatorAffected
Migration Toolkit for Containersrhmtc/openshift-migration-rhel8-operatorAffected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-rhel9-operatorAffected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/submariner-operator-bundleNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/submariner-rhel9-operatorNot affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/aap-cloud-billing-rhel8-operatorAffected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/controller-rhel9-operatorAffected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/eda-controller-rhel9-operatorAffected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/gateway-rhel9-operatorAffected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/hub-rhel9-operatorAffected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/platform-resource-rhel9-operatorAffected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/aap-cloud-billing-operator-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/controller-rhel9-operatorAffected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/eda-controller-rhel9-operatorAffected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/gateway-rhel9-operatorAffected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/hub-rhel9-operatorAffected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/metrics-service-rhel9-operatorAffected
13 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-92982.

References

Check your stackJSON