CVE-2026-140424

Severity CVSS v4.0:
HIGH
Type:
CWE-22 Path Traversal
Publication date:
01/12/2026
Last modified:
01/12/2026

Description

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.