{
  "id": "CVE-2026-18951",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-18951",
  "published_at": "2026-08-10T20:45:10.112Z",
  "title": "Odh-training-operator-rhel9: [trainer v2 security] trn-02: rhoai overlay aggregates trainjobs crud into standard edit clusterrole",
  "vendor": "Red Hat",
  "product": "Red Hat OpenShift AI 3.3",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/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 the Red Hat OpenShift AI (RHOAI) overlay for the training operator. The RHOAI overlay incorrectly aggregates `trainjobs` management permissions into the native Kubernetes `edit ClusterRole`. This allows any user with `edit ClusterRole` permissions in a namespace to create, modify, and delete `TrainJobs`. When combined with a separate vulnerability (TRN-01) that permits arbitrary pod configurations, a remote attacker with namespace editor privileges could exploit this to escalate privileges, potentially leading to arbitrary code execution.",
  "cwe": "CWE-267",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift AI 3.3",
        "ranges": null,
        "fixed_in": [
          "1785188461"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift AI 3.3",
        "ranges": null,
        "fixed_in": [
          "1790137153"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift AI 3.4",
        "ranges": null,
        "fixed_in": [
          "1784814352"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift AI 3.4",
        "ranges": null,
        "fixed_in": [
          "1787361677"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift AI 3.5",
        "ranges": null,
        "fixed_in": [
          "1786552271"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift AI 3.5",
        "ranges": null,
        "fixed_in": [
          "1786552250"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat OpenShift AI 3.3 to 1785188461 or later.",
      "Upgrade Red Hat OpenShift AI 3.3 to 1790137153 or later.",
      "Upgrade Red Hat OpenShift AI 3.4 to 1784814352 or later.",
      "Upgrade Red Hat OpenShift AI 3.4 to 1787361677 or later.",
      "Upgrade Red Hat OpenShift AI 3.5 to 1786552271 or later.",
      "Upgrade Red Hat OpenShift AI 3.5 to 1786552250 or later."
    ],
    "workarounds": [
      "Administrators should review and adjust their Kubernetes RBAC configurations within Red Hat OpenShift AI to ensure that `trainjobs` permissions are explicitly managed. This involves removing `trainjobs` from the `aggregate-to-edit` ClusterRole labels or requiring explicit `RoleBinding` for `trainjobs` access. This prevents implicit permission grants to namespace editors and reduces the attack surface. Consult Kubernetes documentation for specific instructions on modifying ClusterRoles and RoleBindings. A restart or reload of affected components may be required for changes to take effect."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:53262"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:53263"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:60367"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:60520"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:73987"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
