CVE-2026-140424
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 8.7 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 7.5)
CVSS v3.1 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- zcaceres markdownify-mcp < 1.2.0
- zcaceres markdownify-mcp 1.2.0
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run zcaceres markdownify-mcp and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Dec 1, 2026Published
- Dec 1, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new zcaceres markdownify-mcp CVEsYou are reading CVE-2026-140424. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/zcaceres/markdownify-mcp/security/advisories/GHSA-wp59-q6fv-34rx
- Patchhttps://github.com/zcaceres/markdownify-mcp/commit/f7bc9752a30cd154a59c4015d74de786cd02a0e9
- Referencehttps://github.com/zcaceres/markdownify-mcp/releases/tag/v1.2.0
- Referencehttps://github.com/zcaceres/markdownify-mcp/blob/v1.1.0/src/utils.ts#L106-L110
- Referencehttps://www.vulncheck.com/advisories/markdownify-mcp-before-1.2.0-path-allowlist-bypass-via-iswithindirectory-prefix-match
Data last checked: Dec 1, 2026 16:14 UTC