CVE-2026-48120Published Aug 7, 2026 · Aug 7Updated Oct 28
Kakoune has a Critical RCE via Autorestore Backup Filename Injection
mawww kakoune
High8.6Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mawww kakoune |
| No fix yet |
Original description
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.
From the CVE record · GitHub_M