MediumVulnerability
CVE-2025-51471: Ollama cross-domain token exposure in WWW-Authenticate realm handling
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-51471
- Published
- Record updated
- Affected
- github.com/ollama/ollama <= 0.9.6
- Fixed in
- No fixed version was stated when the source was last read.
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 18.5%
Summary
CVE-2025-51471 is a cross-domain token exposure flaw in server.auth.getAuthorizationToken in Ollama 0.6.7. A remote attacker who controls a malicious realm value in a WWW-Authenticate header returned by the /api/pull endpoint can steal authentication tokens and bypass access controls. NVD has not yet provided an assessment.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- github.com/ollama/ollamaGoLLM dependency since 2023-07-08 · 2 tracked dependents
Topics
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online