CVE Explorer
CVE-2026-59924
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"mistune","vendor":"lepture","versions":[{"status":"affected","version":"< 3.3.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a5036625e5435c2587f385cba1cecb65afc795a9fc78c1a15706b7c9fefca41e · sha256:bad580dddce52c91… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a5036625e5435c2587f385cba1cecb65afc795a9fc78c1a15706b7c9fefca41e · sha256:bad580dddce52c91… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a5036625e5435c2587f385cba1cecb65afc795a9fc78c1a15706b7c9fefca41e · sha256:bad580dddce52c91… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993","tags":["x_refsource_MISC"],"url":"https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a5036625e5435c2587f385cba1cecb65afc795a9fc78c1a15706b7c9fefca41e · sha256:bad580dddce52c91… · /containers/cna/references/1
{"name":"https://github.com/lepture/mistune/releases/tag/v3.3.0","tags":["x_refsource_MISC"],"url":"https://github.com/lepture/mistune/releases/tag/v3.3.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a5036625e5435c2587f385cba1cecb65afc795a9fc78c1a15706b7c9fefca41e · sha256:bad580dddce52c91… · /containers/cna/references/2
{"name":"https://github.com/lepture/mistune/security/advisories/GHSA-r4rv-85jg-w4mf","tags":["x_refsource_CONFIRM"],"url":"https://github.com/lepture/mistune/security/advisories/GHSA-r4rv-85jg-w4mf"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a5036625e5435c2587f385cba1cecb65afc795a9fc78c1a15706b7c9fefca41e · sha256:bad580dddce52c91… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/lepture/mistune/security/advisories/GHSA-r4rv-85jg-w4mf"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a5036625e5435c2587f385cba1cecb65afc795a9fc78c1a15706b7c9fefca41e · sha256:bad580dddce52c91… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.