CVE-2025-10725 PUBLISHED

Openshift-ai: overly permissive clusterrole allows authenticated users to escalate privileges to cluster admin

Assigner: redhat
Reserved: 19.09.2025 Published: 30.09.2025 Updated: 24.12.2025

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 9.9

Product Status

Vendor opendatahub-io
Product opendatahub-operator
Versions Default: unaffected
  • affected from 0 to 3.0.0 (excl.)
Vendor Red Hat
Product Red Hat OpenShift AI 2.16
Versions Default: affected
  • unaffected from sha256:cebc8815e03b772343b15d0a7dce8fad6fcc71dd437d871db5a3691472350803 to * (excl.)
Vendor Red Hat
Product Red Hat OpenShift AI 2.19
Versions Default: affected
  • unaffected from sha256:43a8904396e55074ffb1afcfcd8fe6db0edcbc918a8ff8301b6b0920aea7eabf to * (excl.)
Vendor Red Hat
Product Red Hat OpenShift AI 2.21
Versions Default: affected
  • unaffected from sha256:db339d2d4f86af4efa695ef193d19e26b25fec80017fa2780833a4cd944e383b to * (excl.)
Vendor Red Hat
Product Red Hat OpenShift AI 2.22
Versions Default: affected
  • unaffected from sha256:dccc7c6cf920da7ffeadbad42f5727f2d58d54ceef399ac98441345d06ff10c4 to * (excl.)
Vendor Red Hat
Product Red Hat OpenShift AI 2.24
Versions Default: affected
  • unaffected from sha256:12c1d1066e75951aad1d333bcbc1675ba7a795b57744294c23decec1655709c7 to * (excl.)

Workarounds

RHOAI versions 2.16.x

The recommended fix is to upgrade to version 2.16.3. However, if Kueue features are not required, the Kueue component management state can be set to "Removed" in the RHOAI DataScienceCluster resource:

~~~ oc patch dsc default-dsc --type=merge -p='{"spec":{"components":{"kueue":{"managementState":"Removed"}}}}' -n redhat-ods-operator ~~~

RHOAI versions 2.19+

The recommended fix is to apply the available erratum. Alternatively, follow these steps: 1. Prevent the RHOAI operator from managing the kueue-batch-user-rolebinding by applying the necessary annotation: ~~~ oc patch clusterrolebinding kueue-batch-user-rolebinding -p '{"metadata":{"annotations": {"opendatahub.io/managed":"false"}}}' ~~~

  1. Disable the ClusterRoleBinding by updating its subject to a different, non-existent, group: ~~~ oc patch clusterrolebinding kueue-batch-user-rolebinding \ -p '{ "subjects": [ { "kind": "Group", "name": "REPLACEME", "apiGroup": "rbac.authorization.k8s.io" } ] }' ~~~

It 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.

  1. Once updates providing fixes have been applied, it's recommended to remove the clusterrolebinding created in step 2 of the mitigation. ~~~ oc delete clusterrolebinding kueue-batch-user-rolebinding ~~~

Credits

  • This issue was discovered by Jon Weiser (Red Hat), Oleg Sushchenko (Red Hat), and Raul Bringas (Red Hat).

References

Problem Types

  • Incorrect Privilege Assignment CWE