Vulnerability · Published Oct 25, 2026 · Assigned by VulnCheck
CVE-2026-116073Leon before commit 50df142 Path Traversal via /download model Command
Medium 6.5
In plain English
A medium-severity path traversal in leon from leon-ai. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
References
- GitHub Issue #593 issue-tracking
- https://github.com/leon-ai/leon product
- https://github.com/leon-ai/leon/blob/21baf11714f618a9367f25882e59e856d3308037/server/src/built-in-command/commands/download-command/download-command.ts#L21-L28 technical-description
- https://github.com/leon-ai/leon/pull/594 patch, issue-tracking
- https://github.com/leon-ai/leon/commit/50df142a89a0859e5b7283d87afdab7b01e712a2 patch
- VulnCheck Advisory: Leon before commit 50df142 Path Traversal via /download model Command third-party-advisory