CVE-2025-51471

MEDIUM6.9EPSS 0.06%

Ollama vulnerable to Cross-Domain Token Exposure in github.com/ollama/ollama

Published: 7/22/2025Modified: 5/21/2026

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.

Affected packages (3)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM6.9CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N

References (6)