{"id":"CVE-2025-5273","aliases":["EUVD-2025-16366","GHSA-22v8-p7h2-rj7p"],"status":"published","title":"Markdownify MCP Server allows attackers to read arbitrary files","description":"Versions of the package mcp-markdownify-server before 1.0.0 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.","severity":{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00405,"percentile":0.35065,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-552"],"published":"2025-05-29T05:00:01Z","modified":"2026-10-28T02:30:44Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"mcp-markdownify-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.1"}]}]},{"source":"osv","ecosystem":"npm","package":"mcp-markdownify-server","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.1"}]}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-MCPMARKDOWNIFYSERVER-10249193","tags":["exploit","web"]},{"url":"https://github.com/zcaceres/markdownify-mcp/commit/3a6b202d088ef7acb8be84bc09515f41a2b1a9df","tags":["fix","web"]},{"url":"https://github.com/zcaceres/markdownify-mcp/blob/3667bd4765c0e49684ce22df268d02dd478a7f3b/src/Markdownify.ts%23L94","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5273","tags":["advisory"]},{"url":"https://github.com/zcaceres/markdownify-mcp/blob/3667bd4765c0e49684ce22df268d02dd478a7f3b/src/Markdownify.ts#L94","tags":["web"]},{"url":"https://github.com/advisories/GHSA-22v8-p7h2-rj7p"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5273.json","tags":["advisory"]},{"url":"https://github.com/zcaceres/markdownify-mcp","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-5273","description":"Versions of the package mcp-markdownify-server before 1.0.0 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.","status":"published","published":"2025-05-29T05:00:01.272Z","modified":"2026-07-26T15:25:21.716Z","cvss":[{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:P","level":"high","assessor":"cna"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N/E:P","level":"medium","assessor":"cna"}],"cwes":["CWE-552","CWE-552"],"updated_at":"2026-11-02T14:32:30.302289Z"}],"euvd":[{"id":"EUVD-2025-16366","description":"Versions of the package mcp-markdownify-server before 1.0.0 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.","status":"published","published":"2025-05-29T05:00:01Z","modified":"2026-07-26T15:25:21Z","cvss":[{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:P","level":"high"}],"updated_at":"2026-11-02T18:19:38.034212Z"}],"ghsa":[{"id":"GHSA-22v8-p7h2-rj7p","title":"Markdownify MCP Server allows attackers to read arbitrary files","description":"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.","status":"published","published":"2025-05-29T06:31:17Z","modified":"2025-05-29T17:27:11Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:P","level":"medium"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-552"],"updated_at":"2026-11-02T14:38:44.991725Z"}],"nvd":[{"id":"CVE-2025-5273","description":"Versions of the package mcp-markdownify-server before 1.0.0 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.","status":"published","published":"2025-05-29T05:15:21.4Z","modified":"2026-07-16T16:18:58.677Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-552"],"updated_at":"2026-11-02T14:11:10.143444Z"}],"osv":[{"id":"CVE-2025-5273","description":"Versions of the package mcp-markdownify-server before 1.0.0 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.","status":"published","published":"2025-05-29T05:00:01.272Z","modified":"2026-10-28T02:30:44.298553425Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:P","level":"medium"}],"cwes":["CWE-552"],"updated_at":"2026-11-02T15:44:50.45326Z"},{"id":"GHSA-22v8-p7h2-rj7p","title":"Markdownify MCP Server allows attackers to read arbitrary files","description":"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.","status":"published","published":"2025-05-29T06:31:17Z","modified":"2025-05-29T17:44:26.272809Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"},{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:P","level":"medium"}],"cwes":["CWE-552"],"updated_at":"2026-11-02T15:46:33.520522Z"}]}}
