CVE-2026-48120

HIGH

Kakoune has a Critical RCE via Autorestore Backup Filename Injection

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 8.6
EPSS 0.0014
EPSS Percentile 3.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Details

CWE
CWE-74
Status published
Products (1)
mawww/kakoune < 2026.05.21
Published Aug 07, 2026
Tracked Since Aug 08, 2026