CVE-2026-140424: Vulnerability in Zcaceres Markdownify-mcp
Patch soon. 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.
CWE-22
- Exploitation
- None confirmed
- Severity
- 7.5 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-6wvg-2gwh-7j53
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weakness
- CWE-22
- Published
- 1 Dec 2026
- Last change
- 4 Dec 2026
Affected products
Affected versions and the first fixed release
- Zcaceres Markdownify-mcp Before 1.2.0. Fixed in 1.2.0
Advisories
Vendor and security advisories
- github.com/zcaceres/markdownify-mcp/security/advisories/GHSA-wp59-q6fv-34rx
- github.com/zcaceres/markdownify-mcp/blob/v1.1.0/src/utils.ts
- vulncheck.com/advisories/markdownify-mcp-before-1.2.0-path-allowlist-bypass-via-iswithi...
Patches and fixes
Updates, commits and release notes
- github.com/zcaceres/markdownify-mcp/commit/f7bc9752a30cd154a59c4015d74de786cd02a0e9
- github.com/zcaceres/markdownify-mcp/releases/tag/v1.2.0
Related
- Markdownify-mcp vulnerabilities Recent advisories, watch this product