Docutils before 0.23.1 Local File Disclosure via Image Directives
- CVE-2026-144965
- EUVD-2026-144248
Summary
CVE-2026-144965 affects Docutils versions before 0.23.1. The HTML and ODT writers embed files referenced by image directives even when file_insertion_enabled is turned off. An attacker who can supply reStructuredText can point image directives at arbitrary local paths, causing readable files on the system to be embedded into the generated documents. The record gives a CVSS score of 7.5. It is not listed in the CISA known exploited vulnerabilities catalog. Engineers running Docutils to process untrusted input should prioritize upgrading to 0.23.1 or later.
AI summary · verify against the vendor advisory
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.
Text from the CVE.org record.
Recommendation
Docutils
- If you run a version before 0.23.1update to 0.23.1 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Docutils
Affected versions Fixed in before 0.23.1 0.23.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.