{
  "id": "CVE-2026-92982",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-92982",
  "published_at": "2026-10-15T15:36:57.191Z",
  "title": "Ansible-operator-plugins: ansible operator plugins: arbitrary code execution via jinja2 template injection",
  "vendor": "Red Hat",
  "product": "Red Hat Ansible Automation Platform 2.6",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-1336",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat Ansible Automation Platform 2.6",
        "ranges": null,
        "fixed_in": [
          "1791840864"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Ansible Automation Platform 2.7",
        "ranges": null,
        "fixed_in": [
          "1792138238"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Service Mesh 3.4",
        "ranges": null,
        "fixed_in": [
          "1789021200"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat Ansible Automation Platform 2.6 to 1791840864 or later.",
      "Upgrade Red Hat Ansible Automation Platform 2.7 to 1792138238 or later.",
      "Upgrade Red Hat OpenShift Service Mesh 3.4 to 1789021200 or later."
    ],
    "workarounds": [
      "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."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:68695"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:87120"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:87124"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
