Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-12120
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 15:24 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-12120
Complete source record
{
"id": "657a9d0f2840f345654ff2c9aa14093d3145ef27a18f16d7a3b4172071920871",
"url": "https://osv.dev/vulnerability/CVE-2025-12120",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-12120",
"summary": "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.",
"evidence": "osv:CVE-2025-12120",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-12120",
"aliases": [
"CVE-2025-12120"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/lite-xl/lite-xl",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "0af4dae0e2748d6afe7bded41c13d96f627cb520"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.1.8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "VersionTextExtraction"
},
{
"cpe": "cpe:2.3:a:lite-xl:lite_xl:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.1.8"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.1.8",
"v2.1.7",
"v2.1.6",
"v2.1.5",
"v2.1.4",
"v2.1.4-rc1",
"v2.1.3",
"v2.1.3-rc2",
"v2.1.3-rc1",
"v2.1.2",
"v2.1.1",
"v2.1.0",
"v2.0.0",
"v2.0-beta1",
"v1.16.11",
"v1.16.10",
"v1.16.9-dev-1",
"v1.16.9",
"v1.16.8",
"v1.16.7",
"v1.16.6",
"v1.16.5",
"v1.16.4",
"v1.16.3-lite-xl",
"v1.16.2-lite-xl",
"v1.16.1-lite-xl",
"v1.16.0-lite-xl",
"v1.15-lite-xl",
"v1.14.1-lite-xl",
"v1.14-lite-xl",
"v1.13-lite-xl",
"v1.12-lite-xl",
"v1.11-lite-xl",
"v1.10-lite-xl",
"v1.08-subpixel",
"1.06-subpixel-rc1",
"v1.05",
"v1.04",
"v1.03",
"v1.02",
"v1.01",
"v1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-12120.json"
}
}
],
"modified": "2026-10-28T02:30:29.752529364Z",
"provider": "osv",
"references": [
"https://kb.cert.org/vuls/id/579478",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12120.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-12120",
"https://github.com/lite-xl/lite-xl/pull/2164"
],
"provider_metadata": {
"cna_assigner": "certcc",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12120.json"
}
},
"related_cves": [
{
"value": "CVE-2025-12120",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496798,
"published_at": "2025-11-20T16:38:29.108+00:00"
}