CVE-2026-7020: Path Traversal in Ollama
A path traversal vulnerability exists in Ollama versions up to 0. 20. 2 within the digestToPath function of the Tensor Model Transfer Handler component. This flaw allows manipulation of the digest argument to perform path traversal attacks remotely. Exploitation complexity is high and considered difficult. The vulnerability has a CVSS 4. 0 base score of 6. 3, indicating medium severity. No official patch or remediation guidance has been provided by the vendor, who did not respond to early disclosure attempts. The exploit code has been publicly released, but there are no confirmed reports of exploitation in the wild.
AI Analysis
Technical Summary
CVE-2026-7020 is a path traversal vulnerability affecting Ollama versions 0.20.0 through 0.20.2. The issue resides in the digestToPath function in the x/imagegen/transfer/transfer.go file, part of the Tensor Model Transfer Handler. By manipulating the digest argument, an attacker can perform a path traversal attack remotely. The vulnerability has a CVSS 4.0 score of 6.3 with network attack vector, high attack complexity, no privileges required, and no user interaction needed. The vendor was contacted but did not provide a response or patch. The exploit has been publicly disclosed, but no active exploitation has been confirmed.
Potential Impact
Successful exploitation could allow an attacker to perform path traversal attacks remotely, potentially accessing or manipulating files outside the intended directory scope. The attack complexity is high and exploitability is difficult. There are no confirmed reports of active exploitation in the wild. The medium severity score reflects a moderate risk given the difficulty of exploitation and lack of privilege or user interaction requirements.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or remediation guidance has been provided by the vendor. Since the vendor did not respond to early disclosure and no patch links are available, users should monitor the vendor's channels for updates. Until a patch is released, consider restricting network access to the affected component and applying any available application-level controls to validate or sanitize input to the digestToPath function to mitigate path traversal risks.
CVE-2026-7020: Path Traversal in Ollama
Description
A path traversal vulnerability exists in Ollama versions up to 0. 20. 2 within the digestToPath function of the Tensor Model Transfer Handler component. This flaw allows manipulation of the digest argument to perform path traversal attacks remotely. Exploitation complexity is high and considered difficult. The vulnerability has a CVSS 4. 0 base score of 6. 3, indicating medium severity. No official patch or remediation guidance has been provided by the vendor, who did not respond to early disclosure attempts. The exploit code has been publicly released, but there are no confirmed reports of exploitation in the wild.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-7020 is a path traversal vulnerability affecting Ollama versions 0.20.0 through 0.20.2. The issue resides in the digestToPath function in the x/imagegen/transfer/transfer.go file, part of the Tensor Model Transfer Handler. By manipulating the digest argument, an attacker can perform a path traversal attack remotely. The vulnerability has a CVSS 4.0 score of 6.3 with network attack vector, high attack complexity, no privileges required, and no user interaction needed. The vendor was contacted but did not provide a response or patch. The exploit has been publicly disclosed, but no active exploitation has been confirmed.
Potential Impact
Successful exploitation could allow an attacker to perform path traversal attacks remotely, potentially accessing or manipulating files outside the intended directory scope. The attack complexity is high and exploitability is difficult. There are no confirmed reports of active exploitation in the wild. The medium severity score reflects a moderate risk given the difficulty of exploitation and lack of privilege or user interaction requirements.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or remediation guidance has been provided by the vendor. Since the vendor did not respond to early disclosure and no patch links are available, users should monitor the vendor's channels for updates. Until a patch is released, consider restricting network access to the affected component and applying any available application-level controls to validate or sanitize input to the digestToPath function to mitigate path traversal risks.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-04-25T11:29:26.173Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69eda0e087115cfb68ca3f1d
Added to database: 4/26/2026, 5:21:36 AM
Last enriched: 4/26/2026, 5:36:04 AM
Last updated: 4/26/2026, 7:50:44 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.