{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-51471","id":"CVE-2025-51471","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.","descriptionLong":"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":"2025-07-22T00:00:00.000Z","updated":"2026-10-28T02:31:07.011022317Z","reserved":"2025-06-16T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":6.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N","rating":"medium","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":6.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":6.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","ranges":["<=0.9.6","all versions"],"fixed":[],"advisory":"GHSA-x9hg-5q6g-q3jr"}],"cwes":["CWE-384","CWE-345"],"aliases":["GHSA-x9hg-5q6g-q3jr","GO-2025-3824"],"references":[{"url":"https://github.com/ollama/ollama","tags":["Product","package"]},{"url":"https://github.com/ollama/ollama/pull/10750","tags":["Exploit","Issue Tracking","fix","web"]},{"url":"https://www.gecko.security/blog/cve-2025-51471","tags":["Exploit","Third Party Advisory","article","web"]},{"url":"https://huntr.com/bounties/94eea285-fd65-4e01-a035-f533575ebdc2","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51471.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51471","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-147.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x9hg-5q6g-q3jr","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.18528,"epssPercentile":0.97312,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-51471","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51471","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-51471","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x9hg-5q6g-q3jr","ok":true,"note":"GHSA-x9hg-5q6g-q3jr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-51471","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}