Markdownify is vulnerable to command injection through pptx-to-markdown tool
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| zcaceres | markdownify-mcp | before 0.0.2 | 0.0.2 | Patch available | CNA |
| — | mcp-markdownify-server (npm) | before 0.0.2 | 0.0.2 | Patch available | GHSA-45qj-4xq3-3c45 |
- markdownify-mcp Vendorzcaceres Affected before 0.0.2 Fixed in 0.0.2 Patch available CNA
- mcp-markdownify-server (npm) Vendor— Affected before 0.0.2 Fixed in 0.0.2 Patch available GHSA-45qj-4xq3-3c45
Remediation
- Fix · CNA markdownify-mcp (zcaceres) Fixed in 0.0.2
- Fix · GHSA-45qj-4xq3-3c45 mcp-markdownify-server (npm) Fixed in 0.0.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-58358
- 2026-10-03 Alias added: GHSA-45qj-4xq3-3c45
References
More zcaceres vulnerabilities
- TI-2025-40381 fetch-mcp v1.0.2 and before is vulnerable to Server-Side Request Forgery (SSRF)… CVSS 3.1HIGH 7.5
- TI-2025-40380 A Server-Side Request Forgery (SSRF) vulnerability was discovered in the… CVSS 3.1HIGH 7.5
- TI-2026-12394 zcaceres markdownify-mcp webpage-to-markdown Markdownify.ts saveToTempFile random values CVSS 4.0LOW 2.0
- TI-2026-12391 zcaceres markdownify-mcp Markdownify.ts assertPathAllowed symlink CVSS 4.0MEDIUM 4.8
Sources
- CVE-2025-58358 · CVE Program
- CVE-2025-58358 · NVD
- FIRST EPSS
- GHSA-45qj-4xq3-3c45 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences