8.6high
Kakoune has a Critical RCE via Autorestore Backup Filename Injection
- Severity
- 8.6high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mawww kakoune | < 2026.05.21 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Kakoune es un editor de código. Antes de la versión 2026.05.21, el script ’autorestore.kak’ incluido y habilitado por defecto puede ser explotado por archivos de copia de seguridad maliciosos, lo que lleva a la ejecución de comandos arbitrarios de kakoune y de shell simplemente abriendo un archivo. Kakoune 2026.05.21 corrige el problema. Como solución alternativa, añadir ’autorestore-disable’ al kakrc del usuario deshabilitará la función de autorestore.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-48120 changed 2026-08-11 | CVE Terms of Use |
| NVD | CVE-2026-48120 changed 2026-10-23 | Public domain |