Skip to content

Path Traversal in knowns

CVE-2026-86439 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 より前のバージョンでは、MCP ツールの引数に含まれるファイルパスが検証されず、プロジェクト外のファイルを読み取り、作成、上書き、削除される可能性があります。修正版の 0.30.0 以降へ更新してください。

What is the problem

ファイルシステムパスの検証の不備によりディレクトリトラバーサル攻撃が可能。

Affected scope

knownsのバージョン0.30.0未満のMCPツール。

Severity

プロジェクトディレクトリ外の任意のファイルにアクセスが可能であり、重大な被害を引き起こす可能性があります。

How to fix

ファイルシステムパスの検証を強化し、バージョンを0.30.0以降にアップデートしてください。

Workaround

不正なパスを防ぐために入力引数を手動で検証してください。

Detection

MCPツールの使用時に異常なファイルアクセスが発生していないかログを確認してください。

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 filesystem paths in MCP tool arguments, allowing attackers to read, create, overwrite and delete files outside the project directory. Attackers can supply path arguments containing directory traversal sequences to access arbitrary Markdown files accessible to the server process.

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