Original 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 software
- Leon ≥ a3afdef81c8dd085b922f5a4e6b68bb9b9d802e4 < 50df142a89a0859e5b7283d87afdab7b01e712a2 Fixed in: 50df142a89a0859e5b7283d87afdab7b01e712a2 repository or package match
Details
- Published
- 2026-10-25
- Last modified
- 2026-11-06
- CVSS vector
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- CWE
- CWE-22
- EPSS (30-day exploit probability)
- 0.33% (percentile 26)
References
- cve.org/CVE-2026-116073
- nvd.nist.gov/vuln/detail/CVE-2026-116073
- github.com/leon-ai/leon/issues/593
- github.com/leon-ai/leon
- github.com/leon-ai/leon/blob/21baf11714f618a9367f25882e59e856d3308037/server/src/built-in-...
- github.com/leon-ai/leon/pull/594
- github.com/leon-ai/leon/commit/50df142a89a0859e5b7283d87afdab7b01e712a2
- www.vulncheck.com/advisories/leon-before-commit-50df142-path-traversal-via-download-model-...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.