# CVE-2025-10725: Openshift-ai: overly permissive clusterrole allows authenticated users to escalate privileges to cluster admin

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.9
- **CVSS:** 9.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.91% (percentile 58, 2026-11-26)
- **CWE:** CWE-266
- **Published:** 2025-09-30T17:47:08.577Z
- **Modified:** 2026-06-17T08:28:50.817Z

## Who should check

- Anyone running opendatahub-io opendatahub-operator \< 3.0.0
- Anyone running Red Hat OpenShift AI 2.16 all versions
- Anyone running Red Hat OpenShift AI 2.19 all versions
- Anyone running Red Hat OpenShift AI 2.21 all versions
- Anyone running Red Hat OpenShift AI 2.22 all versions
- Anyone running Red Hat OpenShift AI 2.24 all versions

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

## Affected and fixed versions

- opendatahub-io opendatahub-operator: \< 3.0.0 (cvelist)
- Red Hat OpenShift AI 2.16: all versions (cvelist)
- Red Hat OpenShift AI 2.19: all versions (cvelist)
- Red Hat OpenShift AI 2.21: all versions (cvelist)
- Red Hat OpenShift AI 2.22: all versions (cvelist)
- Red Hat OpenShift AI 2.24: all versions (cvelist)

## Mitigation

- Upgrade opendatahub-operator to 3.0.0 or later.
- Vendor workaround: 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"}}}'
- ~~~
- 
- 2. 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.
- 
- 3. 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
- ~~~

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-10725. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-10725.md
Affected: opendatahub-io opendatahub-operator < 3.0.0; Red Hat OpenShift AI 2.16 all versions; Red Hat OpenShift AI 2.19 all versions; Red Hat OpenShift AI 2.21 all versions; Red Hat OpenShift AI 2.22 all versions; Red Hat OpenShift AI 2.24 all versions
Fixed in: opendatahub-io opendatahub-operator 3.0.0

Steps:
1. Search this machine and project for opendatahub-io opendatahub-operator, Red Hat OpenShift AI 2.16, Red Hat OpenShift AI 2.19, Red Hat OpenShift AI 2.21, Red Hat OpenShift AI 2.22, Red Hat OpenShift AI 2.24: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-10725 being exploited?

There is no confirmed exploitation: CVE-2025-10725 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.91% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-10725?

Critical: CVSS 9.9 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-10725?

opendatahub-io opendatahub-operator \< 3.0.0; Red Hat OpenShift AI 2.16 all versions; Red Hat OpenShift AI 2.19 all versions; Red Hat OpenShift AI 2.21 all versions; Red Hat OpenShift AI 2.22 all versions; Red Hat OpenShift AI 2.24 all versions.

### Is there a fix for CVE-2025-10725?

Yes. Fixed in opendatahub-io opendatahub-operator 3.0.0. Upgrade opendatahub-operator to 3.0.0 or later. Vendor workaround: 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"}}}' ~~~  2. 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.  3. 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 ~~~

### How do I check if I'm affected by CVE-2025-10725?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2025:16981>
- vendor: <https://access.redhat.com/errata/RHSA-2025:16982>
- vendor: <https://access.redhat.com/errata/RHSA-2025:16983>
- vendor: <https://access.redhat.com/errata/RHSA-2025:16984>
- vendor: <https://access.redhat.com/errata/RHSA-2025:17501>
- patch: <https://github.com/opendatahub-io/opendatahub-operator/commit/070057ebd0882be0e397bee1daa18c36374a03c0>
- patch: <https://github.com/opendatahub-io/opendatahub-operator/pull/2571>
- other: <https://access.redhat.com/security/cve/CVE-2025-10725>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2396641>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-10725>

HTML: <https://flawdb.com/CVE-2025-10725> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-10725>
