Skip to content

OS Command Injection in knowns

CVE-2026-86540 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.

knowns 0.30.0より前のバージョンでは、プロジェクト設定ファイルの言語サーバー用バイナリの値が検証されません。悪意のある .knowns/config.json を含むリポジトリを開くと、利用者の権限で任意のプログラムが実行される恐れがあります。0.30.0以降に更新してください。

What is the problem

knownsの脆弱性は、settings.lsp.languagesバイナリフィールドの検証を欠いていること。

Affected scope

バージョン0.30.0未満のknownsのプロジェクト設定ファイル。

Severity

任意のコード実行が可能になるため、高いリスクがあります。

How to fix

knownsをバージョン0.30.0にアップデートしてください。

Workaround

設定ファイルのバイナリフィールドの手動検証。

Detection

プロジェクト設定ファイルを確認し、非標準のバイナリパスをチェック。

Affected packages

PackageAffected → Fixed
npmknowns
< 0.30.0→ 0.30.0
Original description The description as published by the source.

knowns versions before 0.30.0 fail to validate the settings.lsp.languages binary field in project configuration files, allowing attackers to execute arbitrary binaries by crafting a malicious .knowns/config.json file. When a repository with a crafted configuration is opened, the unvalidated binary path is executed twice under the user's account without any verification.

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