PatchSiren cyber security CVE debrief
CVE-2026-116073 leon-ai CVE debrief
CVE-2026-116073 is a path traversal vulnerability in the getModelFileNameFromURL() function of Leon before commit 50df142. This vulnerability allows attackers to write files outside the models directory via percent-encoded separators. Attackers can trick a user into running the '/download model' command with a crafted URL containing encoded '../' sequences to write attacker-controlled content to arbitrary paths writable by Leon.
- Vendor
- leon-ai
- Product
- leon
- CVSS
- MEDIUM 6.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-25
- Original CVE updated
- 2026-10-25
- Advisory published
- 2026-10-25
- Advisory updated
- 2026-10-25
Who should care
Defenders responsible for systems using Leon before commit 50df142 should assess exposure and prioritize patching. This includes developers and administrators who manage Leon installations.
Why it matters
CVE-2026-116073 is a path traversal vulnerability in Leon before commit 50df142 that allows attackers to write files outside the models directory. Defenders should prioritize verifying the version of Leon in use, restricting access to the '/download model' command, and applying the patch.
- Verify the integrity of files written by the '/download model' command.
- Restrict access to the command to prevent unauthorized use.
- Monitor for suspicious activity that could indicate exploitation.
- Apply the patch from commit 50df142 to prevent exploitation.
Technical summary
The getModelFileNameFromURL() function in Leon before commit 50df142 is vulnerable to path traversal attacks. This allows attackers to write files outside the models directory by providing a crafted URL with encoded '../' sequences. Affected product deployments should be reviewed for exposure, and defenders should prioritize verifying the version of Leon in use and applying the patch from commit 50df142 if vulnerable. Additional defensive measures include restricting access to the '/download model' command and monitoring for suspicious activity.
Defensive priority
Defenders should prioritize verifying the version of Leon in use and applying the patch from commit 50df142 if vulnerable.
Recommended defensive actions
- Verify the version of Leon in use and apply the patch from commit 50df142 if vulnerable.
- Restrict access to the '/download model' command to trusted users and validate user input.
- Monitor for suspicious activity and implement compensating controls to prevent exploitation.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, including its description and CVSS score. However, additional information from the source references may be necessary to fully understand the vulnerability and its impact.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-116073 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-116073
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-116073 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-116073
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/leon-ai/leon
-
Source reference
Unverified legacy reference
URL: https://github.com/leon-ai/leon/blob/21baf11714f618a9367f25882e59e856d3308037/server/src/built-in-command/commands/download-command/download-command.ts
-
Source reference
Unverified legacy reference
URL: https://github.com/leon-ai/leon/commit/50df142a89a0859e5b7283d87afdab7b01e712a2
-
Source reference
Unverified legacy reference
URL: https://github.com/leon-ai/leon/issues/593
-
Source reference
Unverified legacy reference
URL: https://github.com/leon-ai/leon/pull/594
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/leon-before-commit-50df142-path-traversal-via-download-model-command
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.