{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-7020","id":"CVE-2026-7020","title":"Ollama Tensor Model Transfer transfer.go digestToPath path traversal","description":"A security flaw has been discovered in Ollama up to 0.20.2. This affects the function digestToPath of the file x/imagegen/transfer/transfer.go of the component Tensor Model Transfer Handler. The manipulation of the argument digest results in path traversal. The attack may be performed from remote. This attack is characterized by high complexity. The exploitability is reported as difficult. The exp","descriptionLong":"A security flaw has been discovered in Ollama up to 0.20.2. This affects the function digestToPath of the file x/imagegen/transfer/transfer.go of the component Tensor Model Transfer Handler. The manipulation of the argument digest results in path traversal. The attack may be performed from remote. This attack is characterized by high complexity. The exploitability is reported as difficult. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.","published":"2026-04-26T04:45:11.467Z","updated":"2026-11-13T02:47:36.107910753Z","reserved":"2026-04-25T11:29:26.173Z","status":"Modified","rejected":false,"assigner":"VulDB","metric":{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","rating":"medium","source":"VulDB"},"metrics":[{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","rating":"medium","source":"VulDB"},{"version":"4.0","score":2.9,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"low","source":"vuldb.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","rating":"medium","source":"GitHub"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R","rating":"low","source":"VulDB"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"vuldb.com"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub"},{"version":"3.0","score":3.7,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R","rating":"low","source":"VulDB"},{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:P/I:N/A:N/E:POC/RL:ND/RC:UR","rating":"low","source":"VulDB"},{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:P/I:N/A:N","rating":"low","source":"vuldb.com"}],"rating":"medium","products":["Ollama"],"affectedProducts":[{"vendor":"n/a","product":"Ollama","defaultStatus":null,"versions":[{"version":"0.20.0","status":"affected"},{"version":"0.20.1","status":"affected"},{"version":"0.20.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","ranges":["<=0.20.2","all versions"],"fixed":[],"advisory":"GHSA-x99g-8v8j-25j2"}],"cwes":["CWE-22"],"aliases":["GHSA-x99g-8v8j-25j2","GO-2026-5750"],"references":[{"url":"https://vuldb.com/vuln/359599","tags":["vdb-entry","technical-description","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://vuldb.com/vuln/359599/cti","tags":["signature","permissions-required","Permissions Required","report","web"]},{"url":"https://vuldb.com/submit/797576","tags":["third-party-advisory","exploit","Exploit","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7020.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7020","tags":["advisory"]},{"url":"https://github.com/ollama/ollama","tags":["package"]},{"url":"https://github.com/advisories/GHSA-x99g-8v8j-25j2","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00908,"epssPercentile":0.60616,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-7020","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7020","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-7020","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x99g-8v8j-25j2","ok":true,"note":"GHSA-x99g-8v8j-25j2"},{"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-2026-7020","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}