7.3high
CVE-2025-12120
- Severity
- 7.3high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- certcc
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Lite XL Lite XL | 2.1.8 and earlier | CVE List |
| lite-xl lite_xl | up to 2.1.8 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
Las versiones 2.1.8 y anteriores de Lite XL ejecutan automáticamente el archivo .lite_project.lua al abrir un directorio de proyecto, sin solicitar confirmación al usuario. El archivo .lite_project.lua está destinado a la configuración específica del proyecto, pero puede contener lógica Lua ejecutable. Este comportamiento podría permitir la ejecución de código Lua no confiable si un usuario abre un proyecto malicioso, lo que podría llevar a la ejecución de código arbitrario con los privilegios del proceso de Lite XL.
References
| https://github.com/lite-xl/lite-xl/pull/2164 | issue-tracking, patch | |
| https://kb.cert.org/vuls/id/579478 | exploit, patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-12120 changed 2025-11-20 | CVE Terms of Use |
| NVD | CVE-2025-12120 changed 2026-10-19 | Public domain |