PT-2026-35201
CVE-2026-7020
·
Published
2026-04-26
·
Updated
2026-08-10
Description by
CVSS 3.1
5.6
MediumMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions
Ollama versions prior to 0.20.2
Description
A flaw in the Tensor Model Transfer Handler component allows remote attackers to perform path traversal. This occurs through the manipulation of the
digest argument within the digestToPath() function located in the x/imagegen/transfer/transfer.go file. Path traversal is a technique that allows an attacker to access files and directories that are stored outside the web root folder by manipulating variables that reference files with dots and slashes.Recommendations
Update to a version later than 0.20.2.
As a temporary workaround, restrict access to the
digestToPath() function to minimize the risk of exploitation.Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾