CVE-2025-12120: Lite XL - Remote Code Execution
- Cve: CVE-2025-12120
- Name: Lite XL - Remote Code Execution
- 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.
- Impact: Attackers can execute arbitrary code with the privileges of the Lite XL process by opening a malicious project directory.
- Remediation: Update to the latest version of Lite XL.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs user to open a malicious project directory.
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.3
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.0033
- Epss percentile: 0.26431
- Assignee: [email protected]
- Published at: 2025-11-20T17:15:48Z
- Age in days: 369
- Modified at: 2026-10-19T13:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-12120
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://kb.cert.org/vuls/id/579478 | nvd | 2025-11-20 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/lite-xl/lite-xl/pull/2164 | nvd | Issue Tracking, Patch |
| https://kb.cert.org/vuls/id/579478 | nvd | Exploit, Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| lite-xl:lite_xl | <= 2.1.8 | no | nvd | /v1/products/lite-xl/lite_xl |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| lite-xl/lite-xl | pull | yes | /v1/repositories/lite-xl/lite-xl |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-11-20
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts