Arbitrary Command Injection Affecting mcp-markdownify-server package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.13% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-MCPMARKDOWNIFYSERVER-12485354
  • published4 Sept 2025
  • disclosed4 Sept 2025
  • creditRoy Rahamim

Introduced: 4 Sep 2025

NewCVE-2025-58358  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

mcp-markdownify-server is a Model Context Protocol (MCP) server that converts various file types and web content to Markdown format. It provides a set of tools to transform PDFs, images, audio files, web pages, and more into easily readable and shareable Markdown text.

Affected versions of this package are vulnerable to Arbitrary Command Injection due to using child_process.exec function. An attacker can execute arbitrary system commands by supplying specially crafted input parameters that are incorporated directly into shell command strings.

References

CVSS Base Scores

version 4.0
version 3.1