← Back
CVE-2026-48120
high
CVSS 8.6
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 comma...
Summary
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, ad...
AI summary openai / gpt-4o
Kakouneコードエディタのデフォルトで有効なスクリプト`autorestore.kak`が、悪意のあるバックアップファイルにより任意のKakouneおよびシェルコマンドを実行される可能性があります。バージョン2026.05.21でこの問題が修正されています。ワークアラウンドとして、`autorestore-disable`をユーザーkakrcに追加することで、autorestore機能を無効化できます。
❓ What is the problem
Kakouneのデフォルトスクリプト`autorestore.kak`が悪意のあるバックアップファイルにより任意のコマンド実行に利用される。
📍 Affected scope
Kakouneコードエディタ(バージョン2026.05.21未満)
🔥 Severity
悪用されると、単純なファイル開封により任意のコードが実行できるため重大。
🔧 How to fix
2026.05.21にアップデートする。
🛡️ Workaround
ユーザーkakrcに`autorestore-disable`を追加し、autorestore機能を無効化する。
🔍 Detection
影響を受けているかどうかを確認するには、`autorestore.kak`の設定を確認する。
References
- web [email protected]
- web [email protected]