{"id":"CVE-2026-140424","aliases":["CVE-2026-140424"],"related":[],"kind":"vulnerability","state":"published","title":"markdownify-mcp before 1.2.0 Path Allowlist Bypass via isWithinDirectory Prefix Match","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-12-01T15:43:56.535Z","modified":"2026-12-01T16:18:21.130Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.2.0","status":"affected"}],"vendor":"zcaceres","product":"markdownify-mcp","repo":"https://github.com/zcaceres/markdownify-mcp","source":"cvelist"}],"references":[{"url":"https://github.com/zcaceres/markdownify-mcp/security/advisories/GHSA-wp59-q6fv-34rx","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/zcaceres/markdownify-mcp/commit/f7bc9752a30cd154a59c4015d74de786cd02a0e9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/zcaceres/markdownify-mcp/releases/tag/v1.2.0","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/zcaceres/markdownify-mcp/blob/v1.1.0/src/utils.ts#L106-L110","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/markdownify-mcp-before-1.2.0-path-allowlist-bypass-via-iswithindirectory-prefix-match","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Genius Wallaby"],"assigner":"VulnCheck","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-140424","url":"https://www.cve.org/CVERecord?id=CVE-2026-140424","licence":"CVE Terms of Use","modified":"2026-12-01T15:43:56.535Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-140424","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140424","licence":"Public domain","modified":"2026-12-01T16:18:21.130Z"}],"updatedAt":"2026-12-01T16:32:21.346Z"}