LIVE LOG · recorded complete source-check dates between October 14 and December 1, 2026; excludes entries with incomplete or unverified source checks · site updated Nov 12, 2026, 12:09 AM ET

← All incidents

markdownify-mcp path allowlist bypass through sibling-directory prefix match (CVE-2026-140424)

Vulnerability · markdownify-mcp · HIGH

Incident date
DisclosedDec 1, 2026 (GitHub advisory)
Added hereDec 1, 8:22 PM ET
Last verifiedDec 1, 2026

Summary

markdownify-mcp before 1.2.0 checked allowed paths with a prefix match in isWithinDirectory(). This let local-file conversion tools read files in sibling directories that share an allowed prefix. The GitHub advisory scores it CVSS 3.1 7.5 and VulnCheck lists CVSS 4.0 8.7. Version 1.2.0 fixes it.

Severity

HIGH CVSS score 7.5 rates High, matching the GitHub advisory.

Kit, our email provider, gets your address only to send the newsletter. Every email has an unsubscribe link. Privacy policy.

Timeline

  1. Nov 25, 2026
    GitHub advisory GHSA-wp59-q6fv-34rx published, with the fix in version 1.2.0
  2. Dec 1, 2026
    Advisory GHSA-6wvg-2gwh-7j53 for CVE-2026-140424 published

How it happened

The advisories describe operators who configured the allowed-paths or share-directory option to confine local file reads. In those setups, isWithinDirectory() used a plain prefix match. A path such as a sibling directory sharing the allowed prefix therefore passed the check. Attackers could invoke the local-file conversion tools directly or through prompt injection. The CVSS vector lists high confidentiality impact and no integrity or availability impact. The GitHub advisory for the package also describes two related defects: missing symlink resolution and a tilde path mismatch in Markdownify.get(). Version 1.2.0 addresses both.

How to check your app

Sources

Corrections and updates

None. Re-checked against every source on Dec 1, 2026.

Cite this entry
Title
markdownify-mcp path allowlist bypass through sibling-directory prefix match (CVE-2026-140424)
Added
Dec 1, 2026
URL
https://vibeincidents.com/incidents/markdownify-mcp-cve-2026-140424/
Suggested citation
VibeIncidents. "markdownify-mcp path allowlist bypass through sibling-directory prefix match (CVE-2026-140424)." Dec 1, 2026. https://vibeincidents.com/incidents/markdownify-mcp-cve-2026-140424/