Skip to main content
← All vulnerabilities
CVE-2026-48120

Kakoune has a Critical RCE via Autorestore Backup Filename Injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2026.05.21
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • mawww kakoune

    fixed in 2026.05.21

References 2

GitHub · mawww/kakoune