Skip to main content
CVE-2025-58358VulnerabilityPublished

CVE-2025-58358: zcaceres markdownify-mcp · Command Injection

Affects zcaceres markdownify-mcpSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High : upgrade to 0.0.2 soon.

Data as of 26 Oct 2026, 07:57 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.9% chance of exploitation in 30 days – higher than 61% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.0.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade zcaceres markdownify-mcp to 0.0.2.

Affected software

ProductAffectedFixed in
zcaceres markdownify-mcpAffected
  • <0.0.2
Fixed in
  • 0.0.2

AI-suggested

1. Immediate upgrade: Organizations should upgrade markdownify-mcp to version 0.0.2 or later, where the vulnerability is fixed. 2. Input validation: Implement strict input validation and sanitization on all user-supplied parameters before they are used in any shell commands. Avoid passing unsanitized input to child_process.exec or similar functions. 3. Use safer APIs: Replace child_process.exec with safer alternatives such as child_process.execFile or spawn with argument arrays that do not invoke a shell, reducing injection risk. 4. Network segmentation: Restrict access to markdownify-mcp servers to trusted internal networks or VPNs to reduce exposure. 5. Monitoring and logging: Enable detailed logging of commands executed and monitor for suspicious activity or unexpected command execution patterns. 6. Application firewall: Deploy Web Application Firewalls (WAFs) or Intrusion Prevention Systems (IPS) with rules to detect and block command injection attempts targeting markdownify-mcp endpoints. 7. Security awareness: Educate developers and administrators about secure coding practices related to command execution and input handling to prevent similar vulnerabilities.

Description

Markdownify is a Model Context Protocol server for converting almost anything to Markdown. Versions below 0.0.2 contain a command injection vulnerability, caused by the unsanitized use of input parameters within a call to child_process.exec, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges. The server constructs and executes shell commands using unvalidated user input directly within command-line strings. This introduces the possibility of shell metacharacter injection (|, >, &&, etc.). This issue is fixed in version 0.0.2.

References

Community reviews

Loading reviews…