CVE-2026-83495

Trainer: trainer: trainjob env passthrough enables valuefrom.secretkeyref injection for namespace secret exfiltration

Published Nov 7, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A flaw in the Trainer v2 TrainJob API permits a user who can create TrainJobs to inject valueFrom.secretKeyRef into environment variable definitions. This injection allows the attacker to read and exfiltrate secrets stored in the namespace, elevating their privileges and compromising sensitive data. The weakness is a CWE-269 (Improper Authorization) vulnerability.

Affected Systems

The vulnerability affects Red Hat OpenShift AI. No specific product versions are disclosed in the data, so all installations of the current OpenShift AI Trainer could be impacted.

Risk and Exploitability

The attack requires a user with permission to submit TrainJobs and a broader RBAC scope than the Secret read access within the same namespace. The exploit is performed via API calls; based on the description, it is inferred that the attack can be carried out through API calls, but the CVE does not state whether remote network access is needed. The CVSS score of 8.8 indicates high severity, and the EPSS score of < 1% suggests low but nonzero exploitation probability. The vulnerability is not listed in CISA's KEV catalog, but it permits privilege escalation if RBAC is misconfigured.

Remediation

Vendor Workaround

To mitigate this vulnerability, ensure that the Role-Based Access Control (RBAC) for users creating TrainJobs is aligned with their Secret read permissions. Alternatively, restrict the `valueFrom.secretKeyRef` field within the validating webhook to an allowlist of permitted secret names. Review and adjust RBAC policies to prevent users from creating TrainJobs with broader access to Secrets than intended.


OpenCVE Recommended Actions

  • Align RBAC permissions for users who create TrainJobs so they match the Secret read permissions and do not exceed them.
  • Configure the validating webhook to restrict the valueFrom.secretKeyRef field to an allowlist of permissible secret names.
  • Audit and limit TrainJob environment variable definitions to only those secrets that are truly required for the job.

Generated by OpenCVE AI on November 17, 2026 at 18:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Red Hat
Red Hat red Hat Openshift Ai (rhoai)
Vendors & Products Red Hat
Red Hat red Hat Openshift Ai (rhoai)
Type Values Removed Values Added
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.
Title Trainer: trainer: trainjob env passthrough enables valuefrom.secretkeyref injection for namespace secret exfiltration
First Time appeared Redhat
Redhat openshift Ai
Weaknesses CWE-269
CPEs cpe:/a:redhat:openshift_ai
Vendors & Products Redhat
Redhat openshift Ai
References
Weaknesses
  • CWE-269

    Improper Privilege Management

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 21, 2026, 2:15 PM
Reserved
Aug 31, 2026, 3:43 PM
Status
Awaiting Analysis
Published
Nov 7, 2026, 7:17 AM
Modified
Nov 21, 2026, 3:17 PM