Leon before commit 50df142 Path Traversal via /download model Command
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
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-116073
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 18:08 UTC · Revision 1
Source evidence
Leon before commit 50df142 Path Traversal via /download model Command
core-osv · Original sourcePublished 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.
osv:CVE-2026-116073
Complete source record
{
"id": "5d0de69f4a6cf1689f802d392fb423c5d2f88700237ab4a16776a54b926e90cf",
"url": "https://osv.dev/vulnerability/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": "osv:CVE-2026-116073",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-116073",
"aliases": [
"CVE-2026-116073"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/leon-ai/leon",
"type": "GIT",
"events": [
{
"introduced": "a3afdef81c8dd085b922f5a4e6b68bb9b9d802e4"
},
{
"fixed": "50df142a89a0859e5b7283d87afdab7b01e712a2"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "a3afdef81c8dd085b922f5a4e6b68bb9b9d802e4"
},
{
"fixed": "50df142a89a0859e5b7283d87afdab7b01e712a2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "50df142a89a0859e5b7283d87afdab7b01e712a2"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-116073.json"
}
}
],
"modified": "2026-10-28T02:30:31.183293614Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116073.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-116073",
"https://www.vulncheck.com/advisories/leon-before-commit-50df142-path-traversal-via-download-model-command",
"https://github.com/leon-ai/leon/issues/593",
"https://github.com/leon-ai/leon/commit/50df142a89a0859e5b7283d87afdab7b01e712a2",
"https://github.com/leon-ai/leon/pull/594",
"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"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116073.json"
}
},
"related_cves": [
{
"value": "CVE-2026-116073",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 498256,
"published_at": "2026-10-25T11:51:00.624+00:00"
}