AploSec / Disclosures / CVE-2026-144965

High 8.7ReportedFixed in 0.23.1CWE-73PyPI

Docutils before 0.23.1 Local File Disclosure via Image Directives

CVE-2026-144965 · published 2026-12-04

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.

Summary

CVE-2026-144965 affects Docutils (PyPI) < 0.23.1: Local File Disclosure via Image Directives (CWE-73). Fixed in 0.23.1. CVSS 4.0 base score 8.7 (High), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).

Docutils before 0.23.1 contains a local file disclosure vulnerability in the HTML and ODT writers that embed image directive files despite file_insertion_enabled being disabled. Attackers supplying reStructuredText can reference arbitrary local paths in image directives to have readable files embedded into generated HTML or ODT documents.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade Docutils to 0.23.1 or later. Releases in the affected range (< 0.23.1) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-12-04 CVE published

References

Severity
High 8.7CVSS 4.0, scored by VulnCheck in the CVE record
Package
Docutils
Ecosystem
PyPI
Affected
< 0.23.1
Fixed
0.23.1
Weakness
CWE-73
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder