cvelo
P3 · MediumCVSS 5.9

Docutils before 0.23.1 TeX Injection via LaTeX Writer Image URIs

  • CVE-2026-144963
  • EUVD-2026-144250

Summary

CVE-2026-144963 affects Docutils versions before 0.23.1. Its LaTeX writer fails to properly handle percent-encoded image URIs, so an attacker who can supply reStructuredText can inject TeX macros. By closing the includegraphics argument and inserting an input macro, the attacker can embed local files into the compiled output. The issue persists even when the raw_enabled and file_insertion_enabled settings are disabled, so those safeguards do not prevent it. The record is rated CVSS 5.9 and is not listed in the CISA known exploited vulnerabilities catalog. Teams that render untrusted reStructuredText through LaTeX output should consider upgrading to 0.23.1 or later.

AI summary · verify against the vendor advisory

Description

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.

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 versionsFixed in
    before 0.23.10.23.1

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.