Skip to content
High 8.7

markdownify-mcpにパス制限を回避される脆弱性、許可外のファイルが読まれるおそれ

CVE-2026-140424 First seen on SecPulse

Summary

markdownify-mcpの1.2.0より前のバージョンには、パスの許可判定の不備により、許可されていない隣接ディレクトリのファイルを読まれるおそれがある脆弱性があります。CVSS v4.0のスコアは8.7です。修正版の1.2.0以降に更新してください。プロンプトインジェクションを経由しても悪用されるおそれがあります。

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.

markdownify-mcpの1.2.0より前のバージョンには、パスの許可判定の不備により、許可されていない隣接ディレクトリのファイルを読まれるおそれがある脆弱性があります。CVSS v4.0のスコアは8.7です。修正版の1.2.0以降に更新してください。プロンプトインジェクションを経由しても悪用されるおそれがあります。

Affected packages

PackageAffected → Fixed
zcaceresmarkdownify-mcp
< 1.2.0→ 1.2.0
Original description The description as published by the source.

markdownify-mcp before 1.2.0 contains a path traversal vulnerability in isWithinDirectory() that allows attackers to bypass MD_ALLOWED_PATHS and MD_SHARE_DIR restrictions. Attackers invoking local-file conversion tools directly or via prompt injection can target sibling directories sharing an allowed prefix to read files outside the allowlist.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

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