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.
Project Subscriptions
No data.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Tue, 01 Dec 2026 16:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | markdownify-mcp before 1.2.0 Path Allowlist Bypass via isWithinDirectory Prefix Match | |
| Weaknesses | CWE-22 | |
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-12-01T15:43:56.535Z
Reserved: 2026-12-01T03:12:50.458Z
Link: CVE-2026-140424
No data.
Status : Received
Published: 2026-12-01T16:18:21.130
Modified: 2026-12-01T16:18:21.130
Link: CVE-2026-140424
No data.
OpenCVE Enrichment
No data.
Weaknesses