OpenShift AI secret exposure in Trainer v2 TrainJob API
Red Hat OpenShift AI (RHOAI)
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Red Hat OpenShift AI (RHOAI) | — | No fix yet |
Original description
A flaw was found in the Trainer v2 TrainJob API. A user with permissions to create TrainJobs can exploit this by injecting `valueFrom.secretKeyRef` into environment variable definitions. This allows them to read and exfiltrate sensitive information (secrets) from the namespace, leading to a privilege escalation. This occurs when the TrainJob Role-Based Access Control (RBAC) is broader than the Secret read RBAC.
From the CVE record · redhat