# CVE-2024-7557: Odh-dashboard: odh-model-controller: cross-model authentication bypass in openshift ai


- **Severity:** High 8.8 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Fix available:** No
- **Published:** 8 Aug 2024
- **Updated:** 19 Mar 2026
- **Also known as:** GHSA-rrc7-8w2h-xw89

## What is CVE-2024-7557?

CVE-2024-7557 is a high-severity vulnerability in Red Hat OpenShift AI (RHOAI), published on 8 Aug 2024. 

### Official description

A vulnerability was found in OpenShift AI that allows for authentication bypass and privilege escalation across models within the same namespace. When deploying AI models, the UI provides the option to protect models with authentication. However, credentials from one model can be used to access other models and APIs within the same namespace. The exposed ServiceAccount tokens, visible in the UI, can be utilized with oc --token={token} to exploit the elevated view privileges associated with the ServiceAccount, leading to unauthorized access to additional resources.

Weakness: CWE-305 (Authentication Bypass by Primary Weakness)

## Which versions are affected by CVE-2024-7557?

It affects 2 products.


Products: Redhat Openshift Ai, Redhat Openshift Data Science.

## How do I fix CVE-2024-7557?

No fix has been published for CVE-2024-7557 yet. Limit exposure of the affected software until one is available.

## Is CVE-2024-7557 being exploited?

There is no known exploitation of CVE-2024-7557 in the wild and no public exploit code.

## Other vulnerabilities in Red Hat OpenShift AI (RHOAI)

- [CVE-2026-5483](https://insights.sbomify.com/CVE-2026-5483/): Odh-dashboard: odh dashboard kubernetes service account exposure (high 8.5)
- [CVE-2025-12805](https://insights.sbomify.com/CVE-2025-12805/): Llama-stack-k8s-operator: llama stack service exposed across namespaces due to missing networkpolicy (high 8.1)
- [CVE-2026-15154](https://insights.sbomify.com/CVE-2026-15154/): Denial of service in Red Hat OpenShift AI 2.25 (medium 6.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-7557 and fix it if it is affected.

What it is: CVE-2024-7557 is a high-severity vulnerability in Red Hat OpenShift AI (RHOAI), published on 8 Aug 2024. 
Exploitation: There is no known exploitation of CVE-2024-7557 in the wild and no public exploit code.

Affected product: Red Hat OpenShift AI (RHOAI). No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-7557/ (Markdown: https://insights.sbomify.com/CVE-2024-7557/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-7557
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-7557
- OSV: https://osv.dev/vulnerability/CVE-2024-7557

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-7557/
Summaries are generated and may contain mistakes; the official description above is the record.
