CVE-2026-48120

Kakoune has a Critical RCE via Autorestore Backup Filename Injection

Published Aug 7, 2026 CVSS 3.1 · 8.6 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Mawww
Mawww kakoune
Vendors & Products Mawww
Mawww kakoune
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 11, 2026, 1:20 AM
Reserved
May 20, 2026, 6:46 PM
Status
Deferred
Published
Aug 7, 2026, 11:17 PM
Modified
Oct 23, 2026, 8:10 PM
Severity
Important
Public date
Aug 7, 2026, 10:34 PM