markdownify-mcp before 1.2.0 contains a path traversal vulnerability in isWithinDirectory() that allows attackers to bypass MD_ALLOWED_PATHS and MD_SHARE_DIR restrictions
Source GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 1.2.0 soon.
Data as of 1 Dec 2026, 19:00 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 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.
Description
markdownify-mcp before 1.2.0 contains a path traversal vulnerability in isWithinDirectory() that allows attackers to bypass MD_ALLOWED_PATHS and MD_SHARE_DIR restrictions. Attackers invoking local-file conversion tools directly or via prompt injection can target sibling directories sharing an allowed prefix to read files outside the allowlist.
References
- github.com/zcaceres/markdownify-mcp/security/advisories/GHSA-wp59-q6fv-34rx (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-140424 (opens in a new tab)
- github.com/zcaceres/markdownify-mcp/commit/f7bc9752a30cd154a59c4015d74de786cd02a0e9 (opens in a new tab)
- github.com/zcaceres/markdownify-mcp/blob/v1.1.0/src/utils.ts (opens in a new tab)
- github.com/zcaceres/markdownify-mcp/releases/tag/v1.2.0 (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)