{"id":"CVE-2026-116073","summary":"Leon before commit 50df142 Path Traversal via /download model Command","details":"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.","modified":"2026-11-07T02:31:07.592143330Z","published":"2026-10-25T11:51:00.624Z","database_specific":{"cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116073.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116073.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116073"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/leon-before-commit-50df142-path-traversal-via-download-model-command"},{"type":"REPORT","url":"https://github.com/leon-ai/leon/issues/593"},{"type":"FIX","url":"https://github.com/leon-ai/leon/commit/50df142a89a0859e5b7283d87afdab7b01e712a2"},{"type":"FIX","url":"https://github.com/leon-ai/leon/pull/594"},{"type":"PACKAGE","url":"https://github.com/leon-ai/leon"},{"type":"ARTICLE","url":"https://github.com/leon-ai/leon/blob/21baf11714f618a9367f25882e59e856d3308037/server/src/built-in-command/commands/download-command/download-command.ts#L21-L28"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/leon-ai/leon","events":[{"introduced":"a3afdef81c8dd085b922f5a4e6b68bb9b9d802e4"},{"fixed":"50df142a89a0859e5b7283d87afdab7b01e712a2"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"a3afdef81c8dd085b922f5a4e6b68bb9b9d802e4"},{"fixed":"50df142a89a0859e5b7283d87afdab7b01e712a2"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"50df142a89a0859e5b7283d87afdab7b01e712a2"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-116073.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}