CVE-2025-10725: Openshift-ai: overly permissive clusterrole allows authenticated users to escalate privileges to cluster admin
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.
Other sources
OpenShift AI includes a ClusterRole named kueue-batch-user-role that is incorrectly bound to the system:authenticated group. This grants any authenticated entity, including low-privileged service accounts for user workbenches, the permission to create OpenShift Jobs in any namespace. An attacker can abuse this permission to schedule a malicious Job in a privileged namespace (e.g., openshift-apiserver-operator), configuring it to run with a high-privilege ServiceAccount. The Job can then exfiltrate the ServiceAccount token, allowing the attacker to progressively pivot and compromise more powerful accounts, ultimately achieving root access on cluster master nodes and leading to a full cluster takeover. Impact
A low-privileged attacker with access to an authenticated account, such 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. Recommendations
Remove the ClusterRoleBinding that associates the kueue-batch-user-role with the system:authenticated group. The permission to create jobs should be granted on a more granular, as-needed basis to specific users or groups, adhering to the principle of least privilege. Avoid granting broad permissions to system-level groups. References
OWASP Top 10: A01:2021 – Broken Access Control: https://owasp.org/Top10/A012021-BrokenAccessControl/
OpenShift Documentation: Using RBAC to define and apply permissions: https://docs.openshift.com/container-platform/latest/authentication/using-rbac.html
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-10725?
CVE-2025-10725 is considered a high severity vulnerability due to its potential for privilege escalation.
How do I fix CVE-2025-10725?
To fix CVE-2025-10725, administrators should immediately apply the patches provided by Red Hat for the OpenShift AI Service.
Who is affected by CVE-2025-10725?
CVE-2025-10725 affects users with low-privileged authenticated accounts in Red Hat OpenShift AI.
What can an attacker do if they exploit CVE-2025-10725?
An attacker exploiting CVE-2025-10725 can escalate their privileges and gain full administrator access to the OpenShift cluster.
What types of accounts are vulnerable to CVE-2025-10725?
Low-privileged accounts, such as those of data scientists using Jupyter notebooks, are vulnerable to CVE-2025-10725.