Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/mawww/kakoune/commit/25c7b13b244fd1ddacc63ecfe1784b5ebc2ba825
- https://github.com/mawww/kakoune/security/advisories/GHSA-h99r-h8cp-vwcq
FAQ
What is CVE-2026-48120?
CVE-2026-48120 is a vulnerability with a CVSS score of 8.6 (HIGH). 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 comma...
How severe is CVE-2026-48120?
CVE-2026-48120 has been rated HIGH with a CVSS base score of 8.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-48120?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.