CVE-2026-59924
Full vulnerability record from the local CVENow database.
Description
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.
Severity
MEDIUM
CVSS score
5.9
(v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-07-08 17:17:28.050000
Last modified
2026-10-25 17:10:00.197000
View original CVE JSON
{
"id": "CVE-2026-59924",
"sourceIdentifier": "[email protected]",
"published": "2026-07-08T17:17:28.050",
"lastModified": "2026-10-25T17:10:00.197",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Mistune es un analizador de Markdown para Python con renderizadores y complementos. Antes de la versión 3.3.0, Include.parse() une y normaliza rutas de inclusión proporcionadas por el usuario sin verificar que el resultado permanezca dentro del directorio de markdown previsto, lo que permite que rutas de inclusión manipuladas accedan a archivos fuera de ese directorio cuando los archivos de markdown se procesan usando md.read(). Este problema se solucionó en la versión 3.3.0."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "lepture",
"product": "mistune",
"versions": [
{
"version": "< 3.3.0",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
"baseScore": 5.9,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.2,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-08T17:10:16.347280Z",
"id": "CVE-2026-59924",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-22"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*",
"versionEndExcluding": "3.3.0",
"matchCriteriaId": "63E1B933-D2E2-44EF-A56C-94483300845B"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/lepture/mistune/commit/1bef343ade163fc3bb95572b15be720084cdb993",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/lepture/mistune/releases/tag/v3.3.0",
"source": "[email protected]",
"tags": [
"Release Notes"
]
},
{
"url": "https://github.com/lepture/mistune/security/advisories/GHSA-r4rv-85jg-w4mf",
"source": "[email protected]",
"tags": [
"Exploit",
"Vendor Advisory"
]
},
{
"url": "https://github.com/lepture/mistune/security/advisories/GHSA-r4rv-85jg-w4mf",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Exploit",
"Vendor Advisory"
]
}
]
}