threatdeck
Live 13:15 UTC ·

AI Stack Alert High CVE-2026-140424 For CISO, SOC / IR, AppSec, AI Eng AI-assisted

CVE-2026-140424: markdownify-mcp before 1.2.0 path traversal bypasses MD_ALLOWED_PATHS allowlist

markdownify-mcp versions before 1.2.0 contain a path traversal flaw in isWithinDirectory(). The flaw lets attackers bypass the MD_ALLOWED_PATHS and MD_SHARE_DIR restrictions. Attackers can read files outside the allowlist by targeting sibling directories that share an allowed prefix.

Why it matters

Any deployment exposing markdownify-mcp's local-file conversion tools can have files outside the intended allowlist read by an attacker, including through prompt injection against an AI agent. The CVSS base score is 8.7.

Do this

  1. Upgrade markdownify-mcp to version 1.2.0 or later.
  2. Until patched, restrict the server's filesystem access at the OS or container level to only the intended directories.
  3. Audit MCP client configurations to identify where markdownify-mcp is deployed and which agents can invoke its local-file conversion tools.
  4. Review server logs for conversion requests referencing paths outside MD_ALLOWED_PATHS and MD_SHARE_DIR.

Exploit Clock

No signals yet

  • No exploitation signals yet

Signals

  • NoCISA KEV
  • 8.7CVSS
  • NoPublic PoC
  • 36/100Priority
  • 80%Confidence

Evidence

“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.”

NVD (AI keyword search)

“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.”

NVD (AI keyword search)

Sources

Affected / related

markdownify-mcp, markdownify-mcp

Published 2026-12-01 16:18 UTC · updated 2026-12-01 18:35 UTC · AI-assisted summary, checked against quoted sources · How we score

Following

Follow the vendors, products, AI tools, techniques and actors you care about. Matching stories, CVEs and exploited bugs are marked, a Following tab appears in the feed, and returning visits show what changed. Saved only in this browser.

Presets

Get updates

A personal RSS feed of new stories on everything you follow. Paste it into any feed reader, Slack or Teams RSS app.