{"id":"CVE-2026-59924","published":"2026-07-08T16:22:11Z","modified":"2026-07-08T17:10:47Z","title":"Mistune: Arbitrary File Read via Include directive path traversal","vendor":"lepture","product":"mistune","tier":"tail","description":{"text":"Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, Include.parse() joins and normalizes user-supplied include paths without verifying that the result remains within the intended markdown directory, allowing crafted include paths to access files outside that directory when markdown files are processed using md.read(). This issue is fixed in version 3.3.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00462,"percentile":0.32096,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/lepture/mistune/security/advisories/GHSA-r4rv-85jg-w4mf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993","tags":["x_refsource_MISC"]},{"url":"https://github.com/lepture/mistune/releases/tag/v3.3.0","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":6.42},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.13}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-22","earliestUrl":"https://github.com/0x5t4l1n/CVE-2026-59924","repos":[{"name":"0x5t4l1n/CVE-2026-59924","url":"https://github.com/0x5t4l1n/CVE-2026-59924","stars":0,"created":"2026-11-22"}]},"first":{"date":"2026-11-22","source":"PoC-in-GitHub","url":"https://github.com/0x5t4l1n/CVE-2026-59924"},"provenance":"source"},"vendorSlug":"lepture","affectedVersions":[{"vendor":"lepture","product":"mistune","versions":["< 3.3.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-08T17:10:16.347280Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mistune","vulnerableRanges":["<3.3.0"],"patched":["3.3.0"],"from":["GHSA-r4rv-85jg-w4mf","PYSEC-2026-2212"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal in the Include directive of mistune, a Python Markdown parser, where Include.parse() does not verify that the joined and normalized include path stays within the intended markdown directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:44Z"},"euvd":{"id":"EUVD-2026-42337","exploited":false,"provenance":"source"}}