CVE-2025-12121 CVE-2025-12121
Attackers can execute arbitrary commands via unsanitized input in Lite XL's system.exec function, potentially compromising the user's system.
- 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-12121?
CVE-2025-12121 is a high-severity command 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 contain a vulnerability in the system.exec function, which allowed arbitrary command execution through unsanitized shell command construction. This function was used in project directory launching (core.lua), drag-and-drop file handling (rootview.lua), and the “open in system” command in the treeview plugin (treeview.lua). If an attacker could influence input to system.exec, they might execute arbitrary commands with the privileges of the Lite XL process.
Weakness: CWE-78
Which versions are affected by CVE-2025-12121?
It affects 1 product.
Products include Lite-Xl Lite Xl.
How do I fix CVE-2025-12121?
No fix has been published for CVE-2025-12121 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-12121 being exploited?
There is no known exploitation of CVE-2025-12121 in the wild and no public exploit code.
Other vulnerabilities in Lite XL
Sources
Also known as GHSA-w994-qmmq-w97w.