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.

Published · last modified .

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.

EPSS exploit prediction

EPSS 0.185, 97.3th percentile (scored ); up from 0.139 30 days earlier. About EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-51471: rose from 0.139 to 0.185.

EPSS over last 30 days · oldest: 0.139 · newest: 0.185 · change: +0.046

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

  • ajtazer/CVE-2025-51471-POC (2 stars, last pushed 2025-12-24): This PoC is for educational and authorized security testing purposes only. Do NOT use against systems you don't own.

References