Red Hat OpenShift AI secret exposure in pull_request_target workflow
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 distributed-workloads. A remote attacker could exploit a vulnerability in the pull_request_target workflow by submitting a specially crafted pull request. This workflow processes untrusted code from the pull request author while operating with the base repository's sensitive secrets, such as the SNYK_TOKEN, and its default write token. Consequently, an attacker could exfiltrate these secrets, leading to unauthorized access to the Snyk integration and potential control over the repository.
From the CVE record · redhat