nday
CVE-2026-59988 GHSA-86mf-q4h5-69gp

django-docutils unsafe Docutils defaults allow local file disclosure, SSRF, and stored XSS

tony / django-docutils

Patch on record 1 day after disclosure. Patched: fixed in django-docutils 0.30.0. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

path traversal
CWE-22, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-86mf-q4h5-69gp
SSRF
CWE-918, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-86mf-q4h5-69gp
XSS
CWE-79, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-86mf-q4h5-69gp
information disclosure
CWE-200, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-86mf-q4h5-69gp
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
PyPI
GHSA-86mf-q4h5-69gp: pip packages django-docutils
stage
PAT
disclosed
disclosure → patch
T+1d
cvss
8.2 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
11-19T16:43Z
PATpatch
11-20T01:04Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 8.2, high. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , observed live · raw
{
  "id": 487333,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-59988",
  "occurred_at": "2026-11-19T16:43:14.816Z",
  "observed_at": "2026-11-19T17:01:12.553901Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N",
      "version": "3.1",
      "base_score": 8.2,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-11-20T21:26:49.009346Z",
      "automatable": "yes",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-19T16:43:14.816Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version django-docutils 0.30.0. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-86mf-q4h5-69gp · nday , observed live · raw
{
  "id": 492300,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-86mf-q4h5-69gp",
  "occurred_at": null,
  "observed_at": "2026-11-20T01:04:39.062031Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-86mf-q4h5-69gp",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 8.2,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Limitation of a Pathname to a Restricted Directory",
        "cwe_id": "CWE-22"
      },
      {
        "name": "Improper Neutralization of Input During Web Page Generation",
        "cwe_id": "CWE-79"
      },
      {
        "name": "Exposure of Sensitive Information to an Unauthorized Actor",
        "cwe_id": "CWE-200"
      },
      {
        "name": "Server-Side Request Forgery",
        "cwe_id": "CWE-918"
      }
    ],
    "ghsa_id": "GHSA-86mf-q4h5-69gp",
    "packages": [
      {
        "name": "django-docutils",
        "ecosystem": "pip",
        "first_patched_version": "0.30.0",
        "vulnerable_version_range": "< 0.30.0"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/tony/django-docutils/security/advisories/GHSA-86mf-q4h5-69gp",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-59988",
      "https://github.com/tony/django-docutils/pull/457",
      "https://github.com/tony/django-docutils/commit/274caaf14c2368fafeb45f178094a34ba538f067",
      "https://github.com/tony/django-docutils/commit/57fd751a10ce2969e4ca2bde6a9094fa2e2ba0dd",
      "https://github.com/tony/django-docutils/blob/v0.30.0/CHANGES",
      "https://github.com/advisories/GHSA-86mf-q4h5-69gp"
    ],
    "fix_commit_urls": [
      "https://github.com/tony/django-docutils/pull/457",
      "https://github.com/tony/django-docutils/commit/274caaf14c2368fafeb45f178094a34ba538f067",
      "https://github.com/tony/django-docutils/commit/57fd751a10ce2969e4ca2bde6a9094fa2e2ba0dd"
    ],
    "github_reviewed_at": "2026-11-20T00:08:12Z",
    "advisory_updated_at": "2026-11-20T00:08:12Z",
    "source_code_location": "https://github.com/tony/django-docutils",
    "advisory_published_at": "2026-11-20T00:08:12Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.