Security mailing lists by PureSourceCode

CVE-2025-51471

MEDIUM 6.9CVSS 3.1

Ollama vulnerable to Cross-Domain Token Exposure

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.

Published
22 Jul 2025
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-345
Also known as
GHSA-x9hg-5q6g-q3jrGO-2025-3824PYSEC-2025-147
Sources
NVDJSONOSV GHSA-x9hg-5q6g-q3jrJSONOSV GO-2025-3824JSONOSV PYSEC-2025-147JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 6.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ollama ollama
cpe:2.3:a:ollama:ollama:0.6.7:-:*:*:*:*:*:*
= 0.6.7
OSV Go github.com/ollama/ollama <= 0.9.6
OSV Go github.com/ollama/ollama all versions
OSV PyPI ollama <= 0.6.7-NA

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 22 Jul 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Jul 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Jul 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Jul 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.