{"id":"CVE-2026-140424","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-140424","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…","details":"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.","published":"2026-12-01T16:18:21.130","modified":"2026-12-01T16:18:21.130","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/zcaceres/markdownify-mcp/commit/f7bc9752a30cd154a59c4015d74de786cd02a0e9","label":"zcaceres/markdownify-mcp@f7bc975"},"references":[{"type":"WEB","url":"https://github.com/zcaceres/markdownify-mcp/blob/v1.1.0/src/utils.ts#L106-L110"},{"type":"WEB","url":"https://github.com/zcaceres/markdownify-mcp/commit/f7bc9752a30cd154a59c4015d74de786cd02a0e9"},{"type":"WEB","url":"https://github.com/zcaceres/markdownify-mcp/releases/tag/v1.2.0"},{"type":"WEB","url":"https://github.com/zcaceres/markdownify-mcp/security/advisories/GHSA-wp59-q6fv-34rx"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/markdownify-mcp-before-1.2.0-path-allowlist-bypass-via-iswithindirectory-prefix-match"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-12-01T16:18:21.130"}}