Skip to main content

Kakoune

1 CVEs product

Monthly

CVE-2026-48120 Aug 07, 22:34 HIGH PATCH This Week

Command injection via unsanitized backup filenames in Kakoune (all versions prior to 2026.05.21) enables arbitrary Kakoune script and shell command execution when a victim opens a file in the editor. The bundled `autorestore.kak` script - enabled by default - discovers backup files by pattern-matching filenames in the same directory as the opened file, then incorporates those filenames directly into shell command strings without validating special characters in the suffix component. No public standalone exploit has been identified at time of analysis, though the fix commit (25c7b13) includes test cases that explicitly demonstrate the injection pattern using filenames such as `.out.kak.;"foo"`, confirming exploitability.

RCE Kakoune
NVD GitHub VulDB
CVSS 3.1
8.6
EPSS
0.1%
EPSS 0% CVSS 8.6
HIGH PATCH This Week

Command injection via unsanitized backup filenames in Kakoune (all versions prior to 2026.05.21) enables arbitrary Kakoune script and shell command execution when a victim opens a file in the editor. The bundled `autorestore.kak` script - enabled by default - discovers backup files by pattern-matching filenames in the same directory as the opened file, then incorporates those filenames directly into shell command strings without validating special characters in the suffix component. No public standalone exploit has been identified at time of analysis, though the fix commit (25c7b13) includes test cases that explicitly demonstrate the injection pattern using filenames such as `.out.kak.;"foo"`, confirming exploitability.

RCE Kakoune
NVD GitHub VulDB

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy