{"schema_version":"1.7.5","id":"GHSA-x9hg-5q6g-q3jr","published":"2025-07-22T21:31:15Z","modified":"2026-06-10T12:11:14.407643832Z","aliases":["CVE-2025-51471","GO-2025-3824"],"related":["CGA-6crq-pcpr-mxc6"],"summary":"Ollama vulnerable to Cross-Domain Token Exposure","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":[{"package":{"name":"github.com/ollama/ollama","ecosystem":"Go","purl":"pkg:golang/github.com/ollama/ollama"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.9.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-x9hg-5q6g-q3jr/GHSA-x9hg-5q6g-q3jr.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51471"},{"type":"WEB","url":"https://github.com/ollama/ollama/pull/10750"},{"type":"PACKAGE","url":"https://github.com/ollama/ollama"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-147.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/94eea285-fd65-4e01-a035-f533575ebdc2"},{"type":"WEB","url":"https://www.gecko.security/blog/cve-2025-51471"}],"database_specific":{"cwe_ids":["CWE-345"],"github_reviewed":true,"github_reviewed_at":"2025-07-22T21:56:25Z","nvd_published_at":"2025-07-22T19:15:25Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N"}]}