Read the docs

TeX injection in Docutils LaTeX writer embeds local files

Priority LOW 33CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 15 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.

Summary

Docutils before 0.23.1 contains a TeX injection flaw (CWE-74) in its LaTeX writer. A remote attacker who supplies reStructuredText with percent-encoded image URIs can inject TeX macros that embed local files into the compiled output, even when raw and file insertion are disabled. The attack is high complexity and needs no privileges or user interaction.

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

Description from the CNA

Docutils before 0.23.1 contains a TeX injection vulnerability in the LaTeX writer that allows attackers supplying reStructuredText to inject TeX macros via percent-encoded image URIs. Attackers can close the includegraphics argument and inject an input macro, embedding local files into compiled output even with raw_enabled and file_insertion_enabled disabled.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
Fix Partial Docutils (docutils): 0.23.1Red Hat: 15 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

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

Upgrade Docutils to 0.23.1, which fixes the flaw. Red Hat lists these products as affected with no fix available: Migration Toolkit for Applications 8, Migration Toolkit for Containers, Migration Toolkit for Virtualization, OpenShift Service Mesh 3, Red Hat Ansible Automation Platform 2, and other products.

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-104173 Local file disclosure in Docutils via image directivesPriority MEDIUM 53
    • TI-2026-104174 Cross-site scripting in Docutils via unescaped image alt textPriority LOW 21

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Migration Toolkit for Applications 8AffectedNo fix yet: Fix deferred
Migration Toolkit for ContainersAffectedNo fix yet: Fix deferred
Migration Toolkit for VirtualizationAffectedNo fix yet: Fix deferred
OpenShift Service Mesh 3AffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform Ansible Core 2AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Virtualization 4AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 17.1AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 18.0AffectedNo fix yet: Fix deferred
Red Hat Satellite 6AffectedNo fix yet: Fix deferred
Service Telemetry Framework 1.5AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-144963
  2. 2026-12-04 Alias added: GHSA-c3cf-rq9c-2hg9
  3. 2026-12-04 CISA SSVC decision points changed
  4. 2026-12-04 Affected versions changed · Red Hat
  5. 2026-12-04 CVSS score added · Red Hat

References

  • TI-2026-104173 Local file disclosure in Docutils via image directives CVSS 4.0HIGH 8.7
  • TI-2026-104174 Cross-site scripting in Docutils via unescaped image alt text CVSS 4.0MEDIUM 5.3

Sources