Live threats

All CVEs / Ollama

CVE-2025-51471Ollama

Medium 6.9 No auth needed

Priority
56
CVSS 3.1
6.9
EPSS
—
Auth required
No
Published
Jul 22, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-345, CWE-384
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ollama.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/ollama/ollama ≤ 0.9.6 no fixed version —
Go github.com/ollama/ollama all no fixed version —

Per OSV / GitHub Advisories (GHSA-x9hg-5q6g-q3jr, GO-2025-3824). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ollamaollama0.6.7

Official sources

References

Links published by the sources. Open them with care.