Kakoune has a Critical RCE via Autorestore Backup Filename Injection
cve-program · CVE-2026-48120
PublishedKakoune 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-48120 · CVE overview and exploitation status
cve-program · CVE-2026-48120
Related changes
Linked by CVE identifierNo related changes are available here.