Read the docs

Local file disclosure in Docutils via image directives

Priority MEDIUM 53CWE-73Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-73 and the CVSS impact.

Summary

Docutils before 0.23.1 contains a local file disclosure flaw in its HTML and ODT writers. They embed files referenced by image directives even when file_insertion_enabled is disabled, which is external control of a file name or path (CWE-73). An unauthenticated remote attacker who supplies reStructuredText can reference arbitrary local paths, so readable files get embedded into the generated HTML or ODT documents.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

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.

Why it matters now

Fix Fixed Docutils (docutils): 0.23.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
docutilsDocutilsbefore 0.23.10.23.1Patch availableCNA
  • Docutils Vendordocutils Affected before 0.23.1 Fixed in 0.23.1 Patch available CNA

Remediation

Docutils 0.23.1 fixes this flaw, so upgrade Docutils to version 0.23.1 or later.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA Docutils (docutils) Fixed in 0.23.1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Docutils 0.23.1

    3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2026-104171 TeX injection in Docutils LaTeX writer embeds local filesPriority LOW 33
    • TI-2026-104174 Cross-site scripting in Docutils via unescaped image alt textPriority LOW 21

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-144965
  2. 2026-12-04 Alias added: GHSA-7284-627f-6q4p

References

  • TI-2026-104171 TeX injection in Docutils LaTeX writer embeds local files CVSS 4.0HIGH 8.2
  • TI-2026-104174 Cross-site scripting in Docutils via unescaped image alt text CVSS 4.0MEDIUM 5.3

Sources