CVE-2026-144965: Docutils before 0.23.1 Local File Disclosure via Image Directives

Published Dec 4, 2026
·
Updated

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

Affected Software

1 affected component
pypi/docutils<0.23.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Docutils to a version that resolves this vulnerability.

    Fixed in 0.23.1

Event History

Dec 4, 2026
CVE Published
via OSV·02:42 PM
Data Sourced
via OSV·02:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this vulnerability?

Applications using Docutils before 0.23.1 are exposed if they generate HTML or ODT from reStructuredText supplied by an attacker or other untrusted party. The affected output writers are the HTML and ODT writers.

2

What does an attacker need to exploit it?

An attacker needs to be able to supply reStructuredText that is processed by the affected HTML or ODT writer. They can use an image directive referencing an arbitrary local path; any file readable by the process generating the document may be embedded in the output.

3

Does disabling file insertion prevent exploitation?

No. The issue occurs even when file_insertion_enabled is disabled, because the affected writers embed image-directive files despite that setting.

4

How can I tell whether I may already be affected?

Review whether your application processed untrusted reStructuredText with a Docutils version earlier than 0.23.1 and produced HTML or ODT output. Inspect generated documents for embedded image content or image directives that reference local filesystem paths.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203