CVE-2025-12120 CVE-2025-12120
Lite XL automatically executes Lua code from project files, allowing attackers to run arbitrary code if a user opens a malicious project directory.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-12120?
CVE-2025-12120 is a high-severity code injection vulnerability in Lite XL, published on 20 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Lite XL versions 2.1.8 and prior automatically execute the .lite_project.lua file when opening a project directory, without prompting the user for confirmation. The .lite_project.lua file is intended for project-specific configuration but can contain executable Lua logic. This behavior could allow execution of untrusted Lua code if a user opens a malicious project, potentially leading to arbitrary code execution with the privileges of the Lite XL process.
Weakness: CWE-94
Which versions are affected by CVE-2025-12120?
It affects 1 product.
Products include Lite-Xl Lite Xl.
How do I fix CVE-2025-12120?
No fix has been published for CVE-2025-12120 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-12120 being exploited?
There is no known exploitation of CVE-2025-12120 in the wild and no public exploit code.
Other vulnerabilities in Lite XL
Sources
Also known as GHSA-63qf-frrc-rvqp.