← CVE Intelligence

CVE-2026-48120

Kakoune has a Critical RCE via Autorestore Backup Filename Injection PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
mawww / kakouneaffected < 2026.05.21

CWE

CWE-74

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.