{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-140424","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-12-01T03:12:50.458Z","datePublished":"2026-12-01T15:43:56.535Z","dateUpdated":"2026-12-01T22:12:58.583Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-12-01T15:43:56.535Z"},"datePublic":"2026-11-25T00:00:00.000Z","title":"markdownify-mcp before 1.2.0 Path Allowlist Bypass via isWithinDirectory Prefix Match","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","cweId":"CWE-22","type":"CWE"}]}],"affected":[{"vendor":"zcaceres","product":"markdownify-mcp","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.2.0","status":"affected","versionType":"semver"}],"packageURL":"pkg:npm/mcp-markdownify-server","repo":"https://github.com/zcaceres/markdownify-mcp"}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"}}],"references":[{"url":"https://github.com/zcaceres/markdownify-mcp/security/advisories/GHSA-wp59-q6fv-34rx","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-wp59-q6fv-34rx)"},{"url":"https://github.com/zcaceres/markdownify-mcp/commit/f7bc9752a30cd154a59c4015d74de786cd02a0e9","tags":["patch"]},{"url":"https://github.com/zcaceres/markdownify-mcp/releases/tag/v1.2.0","tags":["release-notes"],"name":"markdownify-mcp v1.2.0 Release Notes"},{"url":"https://github.com/zcaceres/markdownify-mcp/blob/v1.1.0/src/utils.ts#L106-L110","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/markdownify-mcp-before-1.2.0-path-allowlist-bypass-via-iswithindirectory-prefix-match","name":"VulnCheck Advisory: markdownify-mcp before 1.2.0 Path Allowlist Bypass via isWithinDirectory Prefix Match","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"Genius Wallaby","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-12-01T22:12:46.555485Z","id":"CVE-2026-140424","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-12-01T22:12:58.583Z"}}]}}