CVE-2026-59988
django-docutils local file disclosure and SSRF in reStructuredText parser
An unauthenticated attacker can read local files, trigger server-side requests, or store scripts via reStructuredText.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-59988 divulgada · CVSS 8.2 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Django-docutils, a reStructuredText library for Django, has an issue where rendering paths pass untrusted reStructuredText to Docutils with unsafe defaults. A remote attacker who can influence the rendered content, without logging in, can read local files, trigger server-side URL requests, or inject stored script-capable content.
django-docutils 0.29.0 and earlier is affected when it renders attacker-controlled or lower-trust RST without its own safe Docutils configuration. Fixed in 0.30.0.
Descripción original del registro (GitHub_M)
django-docutils provides reStructuredText support for Django. Prior to 0.30.0, public rendering paths including publish_doctree, publish_html_from_source, publish_html_from_doctree, publish_parts_from_doctree, the {% rst %} template tag, the rst template filter, DocutilsTemplates, and DocutilsView pass lower-trust reStructuredText to Docutils without disabling file_insertion_enabled, raw_enabled, ambient docutils.conf processing, or unsafe URI schemes and without consistently sanitizing doctrees. An attacker who can influence rendered reStructuredText can use include or csv-table directives to read local files or cause server-side URL requests, or use raw HTML and unsafe URI output to inject stored script-capable content. Applications that render only trusted static reStructuredText are not affected unless attackers can influence it. This issue is fixed in version 0.30.0.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
django-docutils |
Corregida | 0.30.0 | — | — |
0.30.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/tony/django-docutils/security/advisories/GHSA-86mf-q4h5-69gphttps://github.com/tony/django-docutils/pull/457https://github.com/tony/django-docutils/commit/274caaf14c2368fafeb45f178094a34ba538f067https://github.com/tony/django-docutils/commit/57fd751a10ce2969e4ca2bde6a9094fa2e2ba0ddhttps://github.com/tony/django-docutils/blob/v0.30.0/CHANGESLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
