OS Command Injection Affecting lite-xl package, versions <2.1.8-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.38% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE324-LITEXL-17301446
  • published11 Jun 2026
  • disclosed20 Nov 2025

Introduced: 20 Nov 2025

CVE-2025-12121  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 lite-xl to version 2.1.8-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lite-xl package and not the lite-xl package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

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.