llamaCVEVulnerability Intelligence
/
django-docutils

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.

Default setupsParche disponiblepath traversal
Descargar PNG JSON
CVSS 3.1
8.2
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N Fuente: CNA
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión0.30.0
Exposición13 hDesde la divulgación, 19 nov 2026, 11:43 a. m.
Detección3 minDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada
Fuente: NIST NVD
Fuente: OSV +1
11:43 a. m.
12:21 p. m.
07:18 p. m.
12:58 a. m.
11:43 a. m.
03:01 p. m.
06:20 p. m.
09:39 p. m.
12:58 a. m.
FechaFaseEventoDetalle
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
Resumen
Resumen generado por IA · CC-BY 4.0 · 19 nov 2026

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.

¿Qué significa?The unsafe Docutils defaults let an attacker who can influence rendered RST read files the Django worker process can read, trigger server-side requests through URL-backed directives, or inject raw HTML and JavaScript into the rendered output.
¿Quién está afectado?Versions before 0.30.0 (0.29.0 and earlier) are affected, and only when an application renders attacker-controlled or lower-trust RST through django-docutils without its own safe Docutils configuration. To check, look at the installed django-docutils version and whether the application sets its own safe Docutils configuration.
¿Qué hacer?Upgrade django-docutils to 0.30.0 or later, the fixed version.
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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
django-docutils versions before 0.30.0 (affected versions <= 0.29.0).“Affected versions: <= 0.29.0”
02
The application renders attacker-controlled or lower-trust RST through django-docutils without its own safe Docutils configuration.“Applications are affected when they render attacker-controlled or lower-trust RST through django-docutils without their own safe Docutils configuration.”
¿Quién debe revisar?Teams running django-docutils 0.29.0 or earlier that render user-influenced RST, such as comments, wiki pages, profile bios, CMS fields or uploaded documents.
No protegeUI escaping after rendering does not stop file disclosure.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
django-docutils< 0.30.0
0.30.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
django-docutils
Corregida 0.30.0 — —
Versiones corregidas0.30.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/tony/django-docutils/security/advisories/GHSA-86mf-q4h5-69gp
Otrahttps://github.com/tony/django-docutils/pull/457
Otrahttps://github.com/tony/django-docutils/commit/274caaf14c2368fafeb45f178094a34ba538f067
Otrahttps://github.com/tony/django-docutils/commit/57fd751a10ce2969e4ca2bde6a9094fa2e2ba0dd
Otrahttps://github.com/tony/django-docutils/blob/v0.30.0/CHANGES

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.