PatchSiren cyber security CVE debrief
CVE-2026-7020 Ollama CVE debrief
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.
- Vendor
- Ollama
- Product
- Ollama
- CVSS
- LOW 2.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-04-26
- Original CVE updated
- 2026-11-11
- Advisory published
- 2026-04-26
- Advisory updated
- 2026-11-11
Who should care
Defenders responsible for systems using Ollama, especially those utilizing the Tensor Model Transfer Handler, should assess their exposure and verify the version of Ollama being used.
Why it matters
CVE-2026-7020 is a path traversal vulnerability in Ollama's Tensor Model Transfer Handler. Defenders should verify affected versions, assess system exposure, and monitor for exploitation attempts.
- Verification of affected Ollama versions is required to determine exposure.
- Assessment of system exposure to the Tensor Model Transfer Handler is necessary.
- Monitoring for potential exploitation attempts is recommended.
Technical summary
The vulnerability is located in the digestToPath function of the x/imagegen/transfer/transfer.go file in the Ollama component Tensor Model Transfer Handler. The manipulation of the argument digest leads to path traversal. The attack can be performed remotely and has been characterized by high complexity with difficult exploitability. This affects the function digestToPath of the file x/imagegen/transfer/transfer.go of the component Tensor Model Transfer Handler. 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.
Defensive priority
Defenders should prioritize verifying the affected versions of Ollama and assessing the exposure of their systems, especially those using the Tensor Model Transfer Handler.
Recommended defensive actions
- Verify the version of Ollama being used and check if it is within the affected range (up to 0.20.2).
- Assess the exposure of systems using the Tensor Model Transfer Handler.
- Monitor for any potential exploitation attempts.
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
Evidence notes
The CVE record and NVD entry provide details about the vulnerability, including its description, CVSS score, and affected versions. The vulnerability is located in the digestToPath function of the x/imagegen/transfer/transfer.go file in the Ollama component Tensor Model Transfer Handler. The manipulation of the argument digest leads to path traversal. The attack can be performed remotely and has been characterized by high complexity with difficult exploitability. Defenders should verify affected versions, assess system exposure, and
Sources and references
Verified primary and authoritative sources
-
CVE-2026-7020 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-7020
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-7020 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-7020
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://vuldb.com/submit/797576
[email protected] - Exploit, Third Party Advisory, VDB Entry
-
Source reference
Unverified legacy reference
URL: https://vuldb.com/vuln/359599
[email protected] - Third Party Advisory, VDB Entry
-
Source reference
Unverified legacy reference
URL: https://vuldb.com/vuln/359599/cti
[email protected] - Permissions Required
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.