CVEvulnerability
CVE-2026-116073
6.9 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2026-10-25
- Last modified
- 2026-10-26
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 6.9 MEDIUM — 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
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-22
Description
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.
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/leon-ai/leon github.com
- https://github.com/leon-ai/leon/blob/21baf11714f618a9367f25882e59e856d3308037/server/src/built-in-command/commands/download-command/download-command.ts#L21-L28 github.com
- https://github.com/leon-ai/leon/commit/50df142a89a0859e5b7283d87afdab7b01e712a2 github.com
- https://github.com/leon-ai/leon/issues/593 github.com
- https://github.com/leon-ai/leon/pull/594 github.com
- https://www.vulncheck.com/advisories/leon-before-commit-50df142-path-traversal-via-download-model-command www.vulncheck.com