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 を追加すると自動復元機能が無効になり、回避策になります。
Kakouneのデフォルトスクリプトautorestore.kakが悪意のあるバックアップファイルにより任意のコマンド実行に利用される。
Kakouneコードエディタ(バージョン2026.05.21未満)
悪用されると、単純なファイル開封により任意のコードが実行できるため重大。
2026.05.21にアップデートする。
ユーザーkakrcにautorestore-disableを追加し、autorestore機能を無効化する。
影響を受けているかどうかを確認するには、autorestore.kakの設定を確認する。
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-48120 kakoune Fix available
- Ubuntu UBUNTU-CVE-2026-48120 kakoune No fixed version in this record
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
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com