CVE-2026-140424: zcaceres markdownify-mcp · Path Traversal
Affects zcaceres markdownify-mcpSource CVE Database V5
Not known to be exploited · CVSS 8.7 High : upgrade to 1.2.0 soon.
Data as of 1 Dec 2026, 16:14 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.5 |
- Patch
- Available – fixed in 1.2.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 1 Dec 2026.
What to do
Upgrade zcaceres markdownify-mcp to 1.2.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| zcaceresmarkdownify-mcp | Affected
| Fixed in
|
npmmarkdownify-mcppkg:npm/markdownify-mcpOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in markdownify-mcp version 1.2.0. Users should upgrade to version 1.2.0 or later to remediate this vulnerability. No additional mitigation steps are indicated by the vendor advisory.
Description
markdownify-mcp versions before 1.2.0 contain a path traversal vulnerability in the isWithinDirectory() function. This flaw allows attackers to bypass directory restrictions (MD_ALLOWED_PATHS and MD_SHARE_DIR) and read files outside the intended allowlist by targeting sibling directories with a shared prefix. The vulnerability can be exploited by invoking local-file conversion tools directly or through prompt injection.
References
- github.com/zcaceres/markdownify-mcp/security/advisories/GHSA-wp59-q6fv-34rx (opens in a new tab)
- github.com/zcaceres/markdownify-mcp/commit/f7bc9752a30cd154a59c4015d74de786cd02a0e9 (opens in a new tab)
- github.com/zcaceres/markdownify-mcp/releases/tag/v1.2.0 (opens in a new tab)
- github.com/zcaceres/markdownify-mcp/blob/v1.1.0/src/utils.ts (opens in a new tab)
- vulncheck.com/advisories/markdownify-mcp-before-1.2.0-path-allowlist-bypass-via-iswithindirectory-prefix-match (opens in a new tab)