CVE Catalog

CVE-2026-48120

HighCVSS 8.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

4th percentile - higher than 4% of all known CVEs

Summary

Kakoune, a code editor, prior to version 2026.05.21 includes the bundled, enabled by default, autorestore.kak script that can be exploited by malicious backup files leading to arbitrary kakoune and shell commands being executed by simply opening a file.

Risk Assessment

A user opening a malicious file can execute arbitrary commands in the context of their session, potentially leading to system compromise.

Recommendation

Upgrade to version 2026.05.21 or later. As a workaround, add 'autorestore-disable' to the user kakrc to disable the autorestore feature.

Related vulnerabilities

Original NVD description (English source)

Kakoune is a code editor. Prior to version 2026.05.21, the bundled, enabled by default, `autorestore.kak` script can be exploited by malicious backup files leading to arbitrary kakoune and shell commands being executed by simply opening a file. Kakoune 2026.05.21 fixes the issue. As a workaround, add `autorestore-disable` to the user kakrc will disable the autorestore feature.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS