CVE-2026-48120
HIGHKakoune has a Critical RCE via Autorestore Backup Filename Injection
Title source: cnaDescription
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.
References (2)
Core 2
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/mawww/kakoune/security/advisories/GHSA-h99r-h8cp-vwcq
X_Refsource_Misc x_refsource_misc
https://github.com/mawww/kakoune/commit/25c7b13b244fd1ddacc63ecfe1784b5ebc2ba825
Scores
CVSS v3
8.6
EPSS
0.0014
EPSS Percentile
3.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Details
CWE
CWE-74
Status
published
Products (1)
mawww/kakoune
< 2026.05.21
Published
Aug 07, 2026
Tracked Since
Aug 08, 2026