{"schema_version":"1.9.0","id":"CVE-2025-51471","published":"2025-07-22T00:00:00Z","modified":"2026-08-12T03:51:25.094646368Z","aliases":["GHSA-x9hg-5q6g-q3jr","GO-2025-3824"],"related":["CGA-6crq-pcpr-mxc6","openSUSE-SU-2025:15405-1"],"details":"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":[{"ranges":[{"type":"GIT","repo":"https://github.com/ollama/ollama","events":[{"introduced":"a7835c671615d71280ca7dba7264bd05a4f90915"},{"last_affected":"a7835c671615d71280ca7dba7264bd05a4f90915"}],"database_specific":{"cpe":"cpe:2.3:a:ollama:ollama:0.6.7:-:*:*:*:*:*:*","extracted_events":[{"introduced":"0.6.7-NA"},{"last_affected":"0.6.7-NA"}],"source":"CPE_STRING"}}],"versions":["0.6.7-NA","v0.6.7"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-51471.json"}}],"references":[{"type":"WEB","url":"https://huntr.com/bounties/94eea285-fd65-4e01-a035-f533575ebdc2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51471.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51471"},{"type":"FIX","url":"https://github.com/ollama/ollama/pull/10750"},{"type":"PACKAGE","url":"https://github.com/ollama/ollama"},{"type":"ARTICLE","url":"https://www.gecko.security/blog/cve-2025-51471"}],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51471.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N"}]}