Vulnerability in Ollama

CVE-2025-51471

Cross-Domain Token Exposure in server.auth.getAuthorizationToken in Ollama 0.6.7 allows remote attackers to steal authentication tokens and bypass access controls via a malicious realm value in a WWW-Authenticate header returned by the /api/pull endpoint.

EPSS: 0.126 (95.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N.

Affected products

  • Ollama — versions 0.6.7
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-51471?
CVE-2025-51471 is a medium-severity vulnerability in Ollama, classified under Insufficient Verification of Data Authenticity. CVSS score: 6.9/10. Published 2025-07-22.
How severe is CVE-2025-51471?
Medium severity. CVSS v3 base score is 6.9 out of 10.
Is CVE-2025-51471 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.