Skip to content
Heist/ feed
Back to feed
Medium

Leon before commit 50df142 Path Traversal via /download model Command

Type: advisorySources: Official CVE List

Leon before commit 50df142 contains a path traversal vulnerability in getModelFileNameFromURL() that allows attackers to write files outside the models directory via percent-encoded separators. Attackers can trick a user into running '/download model' with a crafted URL containing encoded '../' sequences to write attacker-controlled content to arbitrary paths writable by Leon.

Products
leon
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-116073
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 15:13 UTC · Revision 1

Source evidence

Leon before commit 50df142 Path Traversal via /download model Command

core-cve · Original source

Published 25 Oct 2026, 11:51 UTC

Leon before commit 50df142 contains a path traversal vulnerability in getModelFileNameFromURL() that allows attackers to write files outside the models directory via percent-encoded separators. Attackers can trick a user into running '/download model' with a crafted URL containing encoded '../' sequences to write attacker-controlled content to arbitrary paths writable by Leon.

cve:CVE-2026-116073

leon

Fixed versions: Not specified

Complete source record
{
  "id": "7cf5ba831dca0bfaebdd07f44d544f455d4a82358dc17c743e996d05ddb8e07d",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-116073",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Leon before commit 50df142 Path Traversal via /download model Command",
    "summary": "Leon before commit 50df142 contains a path traversal vulnerability in getModelFileNameFromURL() that allows attackers to write files outside the models directory via percent-encoded separators. Attackers can trick a user into running '/download model' with a crafted URL containing encoded '../' sequences to write attacker-controlled content to arbitrary paths writable by Leon.",
    "evidence": "cve:CVE-2026-116073",
    "products": [
      {
        "name": {
          "value": "leon",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-116073",
      "aliases": [
        "CVE-2026-116073"
      ],
      "metrics": [
        {
          "format": "CVSS",
          "cvssV4_0": {
            "version": "4.0",
            "baseScore": 6.9,
            "attackVector": "NETWORK",
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
            "userInteraction": "ACTIVE",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "privilegesRequired": "NONE",
            "subIntegrityImpact": "NONE",
            "vulnIntegrityImpact": "HIGH",
            "subAvailabilityImpact": "NONE",
            "vulnAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE"
          }
        },
        {
          "format": "CVSS",
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 6.5,
            "attackVector": "NETWORK",
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
            "integrityImpact": "HIGH",
            "userInteraction": "REQUIRED",
            "attackComplexity": "LOW",
            "availabilityImpact": "NONE",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "NONE"
          }
        }
      ],
      "affected": [
        {
          "vendor": "leon-ai",
          "product": "leon",
          "versions": [
            {
              "status": "affected",
              "version": "a3afdef81c8dd085b922f5a4e6b68bb9b9d802e4",
              "lessThan": "50df142a89a0859e5b7283d87afdab7b01e712a2",
              "versionType": "git"
            }
          ],
          "defaultStatus": "unaffected"
        }
      ],
      "modified": "2026-10-25T11:51:00.624Z",
      "provider": "cve",
      "references": [
        "https://github.com/leon-ai/leon/issues/593",
        "https://github.com/leon-ai/leon",
        "https://github.com/leon-ai/leon/blob/21baf11714f618a9367f25882e59e856d3308037/server/src/built-in-command/commands/download-command/download-command.ts#L21-L28",
        "https://github.com/leon-ai/leon/pull/594",
        "https://github.com/leon-ai/leon/commit/50df142a89a0859e5b7283d87afdab7b01e712a2",
        "https://www.vulncheck.com/advisories/leon-before-commit-50df142-path-traversal-via-download-model-command"
      ],
      "provider_metadata": {
        "cna": {
          "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
          "shortName": "VulnCheck",
          "dateUpdated": "2026-10-25T11:51:00.624Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-116073",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 136267,
  "published_at": "2026-10-25T11:51:00.624+00:00"
}