← back
CVE-2025-51471

CVE-2025-51471

CVSS 6.9 MEDIUMEPSS 3.8%CWE-345CWE-384
In short

A flaw in Ollama 0.6.7 allows attackers to steal login tokens by manipulating HTTP headers, bypassing security controls that protect the application.

Technical detail

CWE-345 (Insufficient Verification of Data Authenticity) and CWE-384 (Session Fixation) vulnerability in the server.auth.getAuthorizationToken function. Remote attackers can craft a malicious realm value in the WWW-Authenticate header returned by /api/pull to trick the client into exposing authentication tokens across domain boundaries, enabling token theft and access control circumvention.

Summary generated and translated by AI from the official description.
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
Affected products
n/a · n/a

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →