Leon arbitrary file write in model downloads
leon-ai leon
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| leon-ai leon |
| No fix yet |
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.
From the CVE record · VulnCheck