INCIDENT MAP

Browse / Tool and Agent Misuse / CVE-2025-5273

Markdownify MCP Server allows attackers to read arbitrary files

CVE-2025-5273 ยท 2025-05-29 moderate

Class
Tool and Agent Misuse (filed by a model that read the advisory)
Technique
Path traversal and file access
Also involves
MCP and Tool Server Flaws
Affected
mcp-markdownify-server (npm)
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS
0.4% chance of exploitation in 30 days

How it works, in short

A crafted prompt can make the Markdownify MCP server's file tool read arbitrary files on the host, since the tool does not restrict which paths it opens. (Our summary, written by a model. The source text is below.)

Details

All versions of the package mcp-markdownify-server are vulnerable to Files or Directories Accessible to External Parties via the get-markdown-file tool. An attacker can craft a prompt that, once accessed by the MCP host, will allow it to read arbitrary files from the host running the server.

References

Source: GitHub Advisory Database, used under CC BY 4.0.