PT-2026-164920
CVE-2026-140424
·
Published
2026-12-01
·
Updated
2026-12-01
Description by
CVSS 4.0
8.7
HighMetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
markdownify-mcp versions prior to 1.2.0
Description
A path traversal issue exists in the
isWithinDirectory() function, enabling attackers to bypass restrictions set by MD ALLOWED PATHS and MD SHARE DIR. By invoking local-file conversion tools directly or through prompt injection, an attacker can target sibling directories that share an allowed prefix to read files located outside the designated allowlist.Recommendations
Update markdownify-mcp to version 1.2.0 or later.
As a temporary mitigation, restrict access to the
isWithinDirectory() function.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾