CVE-2026-140424 · zcaceres / markdownify-mcp
CVE-2026-140424
Full advisory details, affected packages, severity context, and original source.
Affected technology
Affected versions and fixes
Version information comes from OSV, NVD, and the CVE vendor record. Each source may describe a different package, release branch, or platform.
zcaceres / markdownify-mcp · semver
CVE vendor record- affected: All earlier versions · before 1.2.0 (exclusive) · semver
Fixed releases / commits: Not explicitly provided by this source. Check the vendor guidance.
Repository: https://github.com/zcaceres/markdownify-mcp
Other versions: unaffected according to the vendor record.
Advisory overview
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.
How Cevnitra tracks this
Cevnitra stores this NVD record in the public advisory mirror so scans and watchlists can match CVE-2026-140424 against your inventory.
Related references
- https://github.com/zcaceres/markdownify-mcp/blob/v1.1.0/src/utils.ts#L106-L110
- https://github.com/zcaceres/markdownify-mcp/commit/f7bc9752a30cd154a59c4015d74de786cd02a0e9
- https://github.com/zcaceres/markdownify-mcp/releases/tag/v1.2.0
- https://github.com/zcaceres/markdownify-mcp/security/advisories/GHSA-wp59-q6fv-34rx
- https://www.vulncheck.com/advisories/markdownify-mcp-before-1.2.0-path-allowlist-bypass-via-iswithindirectory-prefix-match
