CVE-2025-12120
JSON

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 packageVersionsReported by
Lite XL Lite XL2.1.8 and earlierCVE List
lite-xl lite_xlup to 2.1.8NVD

Classification

CWE-94CWE-829

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

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/2164issue-tracking, patch
https://kb.cert.org/vuls/id/579478exploit, patch, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-12120 changed 2025-11-20CVE Terms of Use
NVDCVE-2025-12120 changed 2026-10-19Public domain