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

Patches and fixes

Updates, commits and release notes

Related