SecurityContext

CVE-2026-59988: django-docutils - Path Traversal & SSRF

  • Cve: CVE-2026-59988
  • Name: django-docutils - Path Traversal & SSRF
  • Description: 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.
  • Impact: Attackers can read local files, trigger server-side requests, or inject stored script-capable content, potentially leading to information disclosure and stored XSS.
  • Remediation: Upgrade to version 0.30.0 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read
  • Requirements: Attacker must be able to influence rendered reStructuredText
  • Labels source: securitycontext
  • Severity: high
  • Cvss score: 8.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
  • Epss score: 0.00451
  • Epss percentile: 0.39653
  • Assignee: [email protected]
  • Published at: 2026-11-19T17:18:58Z
  • Age in days: 5
  • Modified at: 2026-11-20T22:17:51Z
  • Public exploits total: 1
  • References total: 5
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-59988
  • Nvd status: received
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, products total, products, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://github.com/googlesky/CVE-2026-59988poc-in-github2026-11-23

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/tony/django-docutils/blob/v0.30.0/CHANGES
https://github.com/tony/django-docutils/commit/274caaf14c2368fafeb45f178094a34ba538f067
https://github.com/tony/django-docutils/commit/57fd751a10ce2969e4ca2bde6a9094fa2e2ba0dd
https://github.com/tony/django-docutils/pull/457
https://github.com/tony/django-docutils/security/advisories/GHSA-86mf-q4h5-69gp

Projects

RepositoryLink kindsIndexedUrl
tony/django-docutilscommit, fix, package, pull, security_advisoryyes/v1/repositories/tony/django-docutils

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-11-23
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts