{"id":"CVE-2026-116073","state":"PUBLISHED","title":"Leon before commit 50df142 Path Traversal via /download model Command","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.","publishedAt":"2026-10-25T11:51:00.624Z","updatedAt":"2026-10-25T11:51:00.624Z","severity":{"score":6.9,"label":"Medium","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["leon-ai leon"],"affected":[{"vendor":"leon-ai","product":"leon","defaultStatus":"unaffected","versions":[{"version":"a3afdef81c8dd085b922f5a4e6b68bb9b9d802e4","status":"affected","lessThan":"50df142a89a0859e5b7283d87afdab7b01e712a2","versionType":"git"}]}],"references":["https://github.com/leon-ai/leon/issues/593","https://github.com/leon-ai/leon","https://github.com/leon-ai/leon/blob/21baf11714f618a9367f25882e59e856d3308037/server/src/built-in-command/commands/download-command/download-command.ts#L21-L28","https://github.com/leon-ai/leon/pull/594","https://github.com/leon-ai/leon/commit/50df142a89a0859e5b7283d87afdab7b01e712a2","https://www.vulncheck.com/advisories/leon-before-commit-50df142-path-traversal-via-download-model-command"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:10:43.281Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/116xxx/CVE-2026-116073.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-116073","state":"PUBLISHED","datePublished":"2026-10-25T11:51:00.624Z","dateUpdated":"2026-10-25T11:51:00.624Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-25T01:57:13.048Z"},"containers":{"cna":{"title":"Leon before commit 50df142 Path Traversal via /download model Command","descriptions":[{"lang":"en","value":"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":[{"vendor":"leon-ai","product":"leon","defaultStatus":"unaffected","versions":[{"version":"a3afdef81c8dd085b922f5a4e6b68bb9b9d802e4","status":"affected","lessThan":"50df142a89a0859e5b7283d87afdab7b01e712a2","versionType":"git"}]}],"references":[{"url":"https://github.com/leon-ai/leon/issues/593","tags":["issue-tracking"],"name":"GitHub Issue #593"},{"url":"https://github.com/leon-ai/leon","tags":["product"]},{"url":"https://github.com/leon-ai/leon/blob/21baf11714f618a9367f25882e59e856d3308037/server/src/built-in-command/commands/download-command/download-command.ts#L21-L28","tags":["technical-description"]},{"url":"https://github.com/leon-ai/leon/pull/594","tags":["patch","issue-tracking"]},{"url":"https://github.com/leon-ai/leon/commit/50df142a89a0859e5b7283d87afdab7b01e712a2","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/leon-before-commit-50df142-path-traversal-via-download-model-command","name":"VulnCheck Advisory: Leon before commit 50df142 Path Traversal via /download model Command","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-25T11:51:00.624Z"},"datePublic":"2026-10-17T00:00:00.000Z","credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}