{
  "id": "CVE-2025-10725",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-10725",
  "published_at": "2025-09-30T17:47:08.577Z",
  "title": "Openshift-ai: overly permissive clusterrole allows authenticated users to escalate privileges to cluster admin",
  "vendor": "opendatahub-io",
  "product": "opendatahub-operator",
  "cvss": {
    "score": 9.9,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/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": {
    "created_at": "2026-07-21T19:38:55Z",
    "first_seen_at": "2026-11-14T14:50:35.824Z",
    "days_after_publication": 294.1,
    "repo": "kaiokmo/cve-2025-10725-eda-demo",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A flaw was found in Red Hat Openshift AI Service. A low-privileged attacker with access to an authenticated account, for example as a data scientist using a standard Jupyter notebook, can escalate their privileges to a full cluster administrator. This allows for the complete compromise of the cluster's confidentiality, integrity, and availability. The attacker can steal sensitive data, disrupt all services, and take control of the underlying infrastructure, leading to a total breach of the platform and all applications hosted on it.",
  "cwe": "CWE-266",
  "cvss_by_source": {
    "cna": 9.9
  },
  "repos": [
    {
      "repo": "kaiokmo/cve-2025-10725-eda-demo",
      "url": "https://github.com/kaiokmo/cve-2025-10725-eda-demo",
      "created_at": "2026-07-21T19:38:55Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-10-29T00:14:49Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "opendatahub-io",
        "product": "opendatahub-operator",
        "ranges": [
          "\u003c 3.0.0"
        ],
        "fixed_in": [
          "3.0.0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift AI 2.16",
        "ranges": null,
        "fixed_in": [
          "sha256:cebc8815e03b772343b15d0a7dce8fad6fcc71dd437d871db5a3691472350803"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift AI 2.19",
        "ranges": null,
        "fixed_in": [
          "sha256:43a8904396e55074ffb1afcfcd8fe6db0edcbc918a8ff8301b6b0920aea7eabf"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift AI 2.21",
        "ranges": null,
        "fixed_in": [
          "sha256:db339d2d4f86af4efa695ef193d19e26b25fec80017fa2780833a4cd944e383b"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift AI 2.22",
        "ranges": null,
        "fixed_in": [
          "sha256:dccc7c6cf920da7ffeadbad42f5727f2d58d54ceef399ac98441345d06ff10c4"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift AI 2.24",
        "ranges": null,
        "fixed_in": [
          "sha256:12c1d1066e75951aad1d333bcbc1675ba7a795b57744294c23decec1655709c7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade opendatahub-operator to 3.0.0 or later.",
      "Upgrade Red Hat OpenShift AI 2.16 to sha256:cebc8815e03b772343b15d0a7dce8fad6fcc71dd437d871db5a3691472350803 or later.",
      "Upgrade Red Hat OpenShift AI 2.19 to sha256:43a8904396e55074ffb1afcfcd8fe6db0edcbc918a8ff8301b6b0920aea7eabf or later.",
      "Upgrade Red Hat OpenShift AI 2.21 to sha256:db339d2d4f86af4efa695ef193d19e26b25fec80017fa2780833a4cd944e383b or later.",
      "Upgrade Red Hat OpenShift AI 2.22 to sha256:dccc7c6cf920da7ffeadbad42f5727f2d58d54ceef399ac98441345d06ff10c4 or later.",
      "Upgrade Red Hat OpenShift AI 2.24 to sha256:12c1d1066e75951aad1d333bcbc1675ba7a795b57744294c23decec1655709c7 or later."
    ],
    "workarounds": [
      "RHOAI versions 2.16.x\n\nThe recommended fix is to upgrade to version 2.16.3.\nHowever, if Kueue features are not required, the Kueue component management state can be set to \"Removed\" in the RHOAI DataScienceCluster resource:\n\n~~~\noc patch dsc default-dsc --type=merge -p='{\"spec\":{\"components\":{\"kueue\":{\"managementState\":\"Removed\"}}}}' -n redhat-ods-operator\n~~~\n\n\nRHOAI versions 2.19+\n\nThe recommended fix is to apply the available erratum.\nAlternatively,  follow these steps:\n1. Prevent the RHOAI operator from managing the kueue-batch-user-rolebinding by applying the necessary annotation:\n~~~\noc patch clusterrolebinding kueue-batch-user-rolebinding -p '{\"metadata\":{\"annotations\": \\{\"opendatahub.io/managed\":\"false\"}}}'\n~~~\n\n2. Disable the ClusterRoleBinding by updating its subject to a different, non-existent, group:\n~~~\noc patch clusterrolebinding kueue-batch-user-rolebinding \\\n  -p '{\n    \"subjects\": [\n      {\n        \"kind\": \"Group\",\n        \"name\": \"REPLACEME\",\n        \"apiGroup\": \"rbac.authorization.k8s.io\"\n      }\n    ]\n  }'\n~~~\n\nIt is important that the group used for the subject does not exist on the cluster to prevent the risk of unintentionally assigning these permissions to other non-privileged users.\n\n3. Once updates providing fixes have been applied, it's recommended to remove the clusterrolebinding created in step 2 of the mitigation.\n~~~\noc delete clusterrolebinding kueue-batch-user-rolebinding\n~~~"
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:16981"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:16982"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:16983"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:16984"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:17501"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/opendatahub-io/opendatahub-operator/commit/070057ebd0882be0e397bee1daa18c36374a03c0"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/opendatahub-io/opendatahub-operator/pull/2571"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
