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

Status: published. Published: 2026-10-15. Updated: 2026-11-11.

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.

## Remediation

- workaround: 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. (source: CNA: redhat)

## Affected products and versions

- Red Hat / Red Hat Ansible Automation Platform 2.6 (ansible-automation-platform-26/lightspeed-rhel9-operator): ≥ 1791840864; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Ansible Automation Platform 2.7 (ansible-automation-platform-27/lightspeed-rhel9-operator): ≥ 1792138238; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat OpenShift Service Mesh 3.4 (openshift-service-mesh/kiali-rhel9-operator): ≥ 1789021200; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Migration Toolkit for Applications 8 (mta/mta-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Migration Toolkit for Containers (rhmtc/openshift-migration-rhel8-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Migration Toolkit for Virtualization (migration-toolkit-virtualization/mtv-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Advanced Cluster Management for Kubernetes 2 (rhacm2/submariner-operator-bundle): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Advanced Cluster Management for Kubernetes 2 (rhacm2/submariner-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Ansible Automation Platform 2 (ansible-automation-platform-26/aap-cloud-billing-rhel8-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Ansible Automation Platform 2 (ansible-automation-platform-26/controller-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Ansible Automation Platform 2 (ansible-automation-platform-26/eda-controller-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Ansible Automation Platform 2 (ansible-automation-platform-26/gateway-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Ansible Automation Platform 2 (ansible-automation-platform-26/hub-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Ansible Automation Platform 2 (ansible-automation-platform-26/platform-resource-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Ansible Automation Platform 2 (ansible-automation-platform-27/aap-cloud-billing-operator-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Ansible Automation Platform 2 (ansible-automation-platform-27/controller-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Ansible Automation Platform 2 (ansible-automation-platform-27/eda-controller-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Ansible Automation Platform 2 (ansible-automation-platform-27/gateway-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Ansible Automation Platform 2 (ansible-automation-platform-27/hub-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Ansible Automation Platform 2 (ansible-automation-platform-27/metrics-service-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Ansible Automation Platform 2 (ansible-automation-platform-27/platform-resource-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Ansible Automation Platform 2 (ansible-automation-platform-tech-preview/metrics-service-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Container Platform 4 (openshift4/ose-ansible-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Container Platform 4 (openshift4/ose-helm-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Container Platform 4 (openshift4/ose-operator-sdk-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Container Platform 5 (openshift5/ose-ansible-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Container Platform 5 (openshift5/ose-helm-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Virtualization 4 (container-native-virtualization/cluster-network-addons-operator-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenStack Platform 16.2 (rhosp-rhel8/osp-director-operator-bundle): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenStack Platform 17.1 (rhosp-rhel9/osp-director-operator-bundle): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenStack Platform 18.0 (rhoso-operators/openstack-operator-bundle): Version range not reported. Source: CNA: redhat
- Red Hat / Service Telemetry Framework 1.5 (stf/service-telemetry-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Service Telemetry Framework 1.5 (stf/smart-gateway-rhel9-operator): Version range not reported. Source: CNA: redhat

## Severity and prioritization

- 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; source: CNA: redhat

- CISA KEV: No listing in collected sources

- EPSS: 0.47% as of 2026-11-10; percentile 41.17%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-1336

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://access.redhat.com/errata/RHSA-2026:68695 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:87120 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:87124 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/security/cve/CVE-2026-92982 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2522227 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2026-92982; retrieved 2026-11-11; source updated 2026-11-11

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-92982; retrieved 2026-11-11; source updated Not reported

Revision: 42c75638cb103b1e357964c4c3603c4c9287f6ab610736c698194934082189fa

Canonical: https://y2.dev/cve/CVE-2026-92982

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.