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.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Change history 5
- StatusPublished → DeferredNVD modified 2026-10-26 17:01
- StatusReceived → PublishedNVD modified 2026-10-25 11:51
- StatusPublished → ReceivedNVD modified 2026-10-25 12:16
- CVSS6.9 (v4.0, 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) → 6.9 (v4.0, 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X)NVD modified 2026-10-25 12:16
- First seenCVSS 6.9 · leon-aiNVD modified 2026-10-25 11:51
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 6
- 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/commit/50df142a89a0859e5b7283d87afdab7b01e712a2
- https://github.com/leon-ai/leon/issues/593
- https://github.com/leon-ai/leon/pull/594
- https://www.vulncheck.com/advisories/leon-before-commit-50df142-path-traversal-via-download-model-command