CVE-2026-7020 — Ollama Path Traversal
CVE-2026-7020 — 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 performe
What This Means For You
- If your environment is affected by CWE-22, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-7020 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
3 rules · 6 SIEM formats3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
CVE-2026-7020 - Ollama Path Traversal via digest parameter
title: CVE-2026-7020 - Ollama Path Traversal via digest parameter
id: scw-2026-04-26-ai-1
status: experimental
level: high
description: |
Detects attempts to exploit CVE-2026-7020 by looking for requests to the /api/tags endpoint with a 'digest=' parameter, which is susceptible to path traversal in Ollama versions up to 0.20.2. This is a direct indicator of the vulnerability being targeted.
author: SCW Feed Engine (AI-generated)
date: 2026-04-26
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-7020/
tags:
- attack.initial_access
- attack.t1190
logsource:
category: webserver
detection:
selection:
cs-uri|contains:
- '/api/tags'
cs-uri-query|contains:
- 'digest='
condition: selection
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-7020 | vulnerability | CVE-2026-7020 |
| CWE-22 | weakness | CWE-22 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | April 26, 2026 at 08:16 UTC |
This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.
Believe this infringes your rights? Submit a takedown request.