{"id":"GHSA-x9hg-5q6g-q3jr","revision":"d4a1a8c8f976436ba6628e458afc8436","records":[{"revision":"d4a1a8c8f976436ba6628e458afc8436","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-x9hg-5q6g-q3jr","aliases":["CVE-2025-51471","GO-2025-3824"],"title":"Ollama vulnerable to Cross-Domain Token Exposure","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.","state":0,"publishedAt":"2025-07-22T21:31:15+00:00","modifiedAt":"2026-09-10T03:50:26.5627718+00:00","affected":[{"ecosystem":"Go","name":"github.com/ollama/ollama","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"0.9.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2025-51471","https://github.com/ollama/ollama/pull/10750","https://github.com/ollama/ollama","https://github.com/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-147.yaml","https://huntr.com/bounties/94eea285-fd65-4e01-a035-f533575ebdc2","https://www.gecko.security/blog/cve-2025-51471"],"sourceUrl":"https://github.com/advisories/GHSA-x9hg-5q6g-q3jr","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-x9hg-5q6g-q3jr","identifiers":["GHSA-x9hg-5q6g-q3jr","CVE-2025-51471","GO-2025-3824"]},"retained":false,"historicalAffected":[]}],"coverage":[]}