CVE-2026-144965
DESCRIPTION
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.
CVSS
HIGH 8.7 · v4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XWEAKNESSES
REFERENCES
- https://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/_html_base.py#L1166-L1186
- https://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/odf_odt/__init__.py#L2124-L2166
- https://github.com/docutils/docutils/commit/a761540f7f6479be42948991a662f7b54e1f118e
- https://pypi.org/project/docutils/0.23.1/
- https://www.vulncheck.com/advisories/docutils-before-0.23.1-local-file-disclosure-via-image-directives
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.