CVE-2026-116073
Leon before commit 50df142 Path Traversal via /download model Command
- State
- Published
- Severity
- 6.9 Medium
- Published
- Oct 25, 2026
- Updated
- Oct 25, 2026
- Reserved
- Oct 25, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 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 | VulnCheck |
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
leonleon-ai |
|
References
- GitHub Issue #593issue-tracking
- https://github.com/leon-ai/leonproduct
- https://github.com/leon-ai/leon/blob/21baf11714f618a9367f25882e59e856d3308037/server/src/built-in-command/commands/download-command/download-command.ts#L21-L28technical-description
- https://github.com/leon-ai/leon/pull/594patchissue-tracking
- https://github.com/leon-ai/leon/commit/50df142a89a0859e5b7283d87afdab7b01e712a2patch
- VulnCheck Advisory: Leon before commit 50df142 Path Traversal via /download model Commandthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.