CVE-2026-7020 — Ollama Path Traversal

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 formats

3 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.

high T1190 Initial Access

CVE-2026-7020 - Ollama Path Traversal via digest parameter

Sigma YAML — free preview
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

✓ Sigma · Splunk SPL Sentinel KQL Elastic QRadar AQL Wazuh Get rules for your SIEM →

Indicators of Compromise

IDTypeIndicator
CVE-2026-7020 vulnerability CVE-2026-7020
CWE-22 weakness CWE-22
Source & Attribution
Source PlatformNVD
ChannelNational Vulnerability Database
PublishedApril 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.

Related coverage

CVE-2026-7024 — Rawchen Sims Path Traversal

CVE-2026-7024 — A flaw has been found in rawchen sims up to 004f783b1db5ecdfad81c8fdc3b34171211112de. Affected by this issue is some unknown functionality of the file sims-master/src/web/servlet/file/DeleteFileServlet.java...

vulnerabilityCVEmedium-severitypath-traversalcwe-22
/SCW Vulnerability Desk /MEDIUM /5.4 /⚑ 2 IOCs /⚙ 5 Sigma

CVE-2026-7023 — ByteDance Coze-Studio SQL Injection

CVE-2026-7023 — A vulnerability was detected in ByteDance coze-studio up to 0.5.1. Affected by this vulnerability is the function ExecuteSQL of the file backend/domain/memory/database/service/database_impl.go of...

vulnerabilityCVEmedium-severitysql-injectioncwe-74cwe-89
/SCW Vulnerability Desk /MEDIUM /6.3 /⚑ 3 IOCs /⚙ 3 Sigma

CVE-2026-7022: SmythOS Improper Authentication Vulnerability Publicly Disclosed

CVE-2026-7022 — A security vulnerability has been detected in SmythOS sre up to 0.0.15. Affected is the function AgentRuntime of the file packages/core/src/subsystems/AgentManager/AgentRuntime.class.ts of the...

vulnerabilityCVEhigh-severitycwe-287
/SCW Vulnerability Desk /HIGH /7.3 /⚑ 4 IOCs /⚙ 2 Sigma