CVE-2026-7020

Source
https://cve.org/CVERecord?id=CVE-2026-7020
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-7020.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-7020
Aliases
Downstream
Published
2026-04-26T04:45:11.467Z
Modified
2026-05-28T04:12:06.155639961Z
Severity
  • 2.9 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
Ollama Tensor Model Transfer transfer.go digestToPath path traversal
Details

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7020.json",
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "last_affected": "0.20.0"
                },
                {
                    "last_affected": "0.20.1"
                },
                {
                    "last_affected": "0.20.2"
                }
            ]
        }
    ],
    "cna_assigner": "VulDB",
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Git / github.com/ollama/ollama

Affected ranges

Type
GIT
Repo
https://github.com/ollama/ollama
Events
Database specific
{
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0.20.0"
        },
        {
            "last_affected": "0.20.2"
        }
    ]
}

Affected versions

v0.*
v0.20.0
v0.20.1
v0.20.1-rc0
v0.20.1-rc1
v0.20.1-rc2
v0.20.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-7020.json"