INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2025-51471

Ollama vulnerable to Cross-Domain Token Exposure

CVE-2025-51471 ยท 2025-07-22 moderate

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Information exposure
Affected
github.com/ollama/ollama (Go)
CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
EPSS
18.5% chance of exploitation in 30 days

How it works, in short

A malicious WWW-Authenticate realm makes the client send its stored bearer token to an attacker-chosen host during a registry pull. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.