Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-7020— Ollama Tensor Model Transfer transfer.go digestToPath path traversal

CVSS 3.7 · Low EPSS 0.06% · P18
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-7020

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Ollama Tensor Model Transfer transfer.go digestToPath path traversal
Source: NVD (National Vulnerability Database)
Vulnerability 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 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Ollama 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Ollama是Ollama开源的一个可以在本地设备上运行、管理和自定义大语言模型的工具。 Ollama 0.20.2及之前版本存在路径遍历漏洞,该漏洞源于Tensor Model Transfer Handler组件中文件x/imagegen/transfer/transfer.go的函数digestToPath的digest参数操作,可能导致路径遍历。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
-Ollama 0.20.0 cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-7020

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-7020

登录查看更多情报信息。

Same Patch Batch · n/a · 2026-04-26 · 4 CVEs total

CVE-2026-70257.3 HIGHTypecho Ping Back Service Endpoint Service.php sendPingHandle server-side request forgery
CVE-2026-70446.3 MEDIUMGreenCMS index.php themeadd unrestricted upload
CVE-2026-70436.3 MEDIUMGreenCMS index.php pluginAddLocal unrestricted upload

IV. Related Vulnerabilities

V. Comments for CVE-2026-7020

No comments yet


Leave a comment