{"cve":"CVE-2025-51471","nvd":{"published":"2025-07-22T19:15:25.403","modified":"2026-06-17T09:35:36.927","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N","score":6.9},"cwes":["CWE-345","CWE-384"],"references":["https://github.com/ollama/ollama","https://github.com/ollama/ollama/pull/10750","https://huntr.com/bounties/94eea285-fd65-4e01-a035-f533575ebdc2","https://www.gecko.security/blog/cve-2025-51471"],"products":["ollama:ollama"],"source":"nvd","synced_at":"2026-10-19T22:05:46.678065081+00:00"},"epss":{"cve":"CVE-2025-51471","score":0.18528,"percentile":0.97249,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x9hg-5q6g-q3jr","url":"https://osv.dev/vulnerability/GHSA-x9hg-5q6g-q3jr","summary":"Ollama vulnerable to Cross-Domain Token Exposure","modified":"2026-09-10T03:50:26.562771801Z","packages":[{"ecosystem":"Go","name":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","ranges":["<=0.9.6"],"fixed":[]}]},{"id":"GO-2025-3824","url":"https://osv.dev/vulnerability/GO-2025-3824","summary":"Ollama vulnerable to Cross-Domain Token Exposure in github.com/ollama/ollama","modified":"2026-06-10T12:11:14.407643832Z","packages":[{"ecosystem":"Go","name":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}