Skip to content

Vulnerability in Kakoune

CVE-2026-48120 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

悪意のあるバックアップファイルを用意されると、ファイルを開くだけで Kakoune とシェルのコマンドが実行される脆弱性です。影響を受けるのは 2026.05.21 より前の版で、2026.05.21 で修正されています。修正版へ更新してください。すぐに更新できない場合は、ユーザーの kakrc に autorestore-disable を追加すると自動復元機能が無効になり、回避策になります。

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の設定を確認する。

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details