CVE-2026-116073

medium

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.

References

https://www.vulncheck.com/advisories/leon-before-commit-50df142-path-traversal-via-download-model-command

https://github.com/leon-ai/leon/pull/594

https://github.com/leon-ai/leon/issues/593

https://github.com/leon-ai/leon/commit/50df142a89a0859e5b7283d87afdab7b01e712a2

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

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-109387

Details

Source: Mitre, NVD

Published: 2026-10-25

Updated: 2026-10-25

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:N

Severity: High

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Severity: Medium

CVSS v4

Base Score: 6.9

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

Severity: Medium