CVE-2025-10725
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| opendatahub-io | opendatahub-operator | 0 < 3.0.0 | affected |
| Red Hat | Red Hat OpenShift AI 2.16 | sha256:cebc8815e03b772343b15d0a7dce8fad6fcc71dd437d871db5a3691472350803 < * | unaffected |
| Red Hat | Red Hat OpenShift AI 2.19 | sha256:43a8904396e55074ffb1afcfcd8fe6db0edcbc918a8ff8301b6b0920aea7eabf < * | unaffected |
| Red Hat | Red Hat OpenShift AI 2.21 | sha256:db339d2d4f86af4efa695ef193d19e26b25fec80017fa2780833a4cd944e383b < * | unaffected |
| Red Hat | Red Hat OpenShift AI 2.22 | sha256:dccc7c6cf920da7ffeadbad42f5727f2d58d54ceef399ac98441345d06ff10c4 < * | unaffected |
| Red Hat | Red Hat OpenShift AI 2.24 | sha256:12c1d1066e75951aad1d333bcbc1675ba7a795b57744294c23decec1655709c7 < * | unaffected |
Weaknesses
- CWE-266: Incorrect Privilege Assignment
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:
- 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"}}}'
- 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.
- 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
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
- https://access.redhat.com/errata/RHSA-2025:16981
- https://access.redhat.com/errata/RHSA-2025:16982
- https://access.redhat.com/errata/RHSA-2025:16983
- https://access.redhat.com/errata/RHSA-2025:16984
- https://access.redhat.com/errata/RHSA-2025:17501
- https://access.redhat.com/security/cve/CVE-2025-10725
- https://bugzilla.redhat.com/show_bug.cgi?id=2396641
- https://github.com/opendatahub-io/opendatahub-operator/commit/070057ebd0882be0e397bee1daa18c36374a03c0
- https://github.com/opendatahub-io/opendatahub-operator/pull/2571
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.