Cloudanix VulnDB

CVE-2025-51471

Medium · 6.9

Ollama vulnerable to Cross-Domain Token Exposure

CVSS

6.9

EPSS

13.9%

Published

Jul 22, 2025

CISA due date

—

The record

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

Ecosystem Package Introduced Fixed
Go github.com/ollama/ollama 0 No fix
Chainguard k8sgpt 0 0.4.28-r0
Chainguard ollama 0 0.12.10-r0
Chainguard ollama-cpu 0 0.12.10-r0
Chainguard ollama-fips 0 0.12.10-r0
Wolfi k8sgpt 0 0.4.28-r0
Wolfi ollama 0 0.12.10-r0
Wolfi ollama-cpu 0 0.12.10-r0
openSUSE:Tumbleweed govulncheck-vulndb 0 0.0.20250730T213748-1.1

Related vulnerabilities