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.
History

Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94
References
Metrics threat_severity

None

threat_severity

Important


Tue, 11 Aug 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 08 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Mawww
Mawww kakoune
Vendors & Products Mawww
Mawww kakoune

Fri, 07 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
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.
Title Kakoune has a Critical RCE via Autorestore Backup Filename Injection
Weaknesses CWE-74
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2026-08-07T22:34:02.607Z

Updated: 2026-08-11T01:20:08.508Z

Reserved: 2026-05-20T18:46:58.290Z

Link: CVE-2026-48120

cve-icon Vulnrichment

Updated: 2026-08-11T01:20:02.589Z

cve-icon NVD

Status : Received

Published: 2026-08-07T23:17:04.117

Modified: 2026-08-11T02:16:51.257

Link: CVE-2026-48120

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-07T22:34:02Z

Links: CVE-2026-48120 - Bugzilla