CVE-2026-144963: Docutils before 0.23.1 TeX Injection via LaTeX Writer Image URIs

Published Dec 4, 2026
·
Updated

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 rawenabled and fileinsertionenabled disabled.

Affected Software

1 affected component
pypi/docutils<0.23.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pypi/docutils to a version that resolves this vulnerability.

    Fixed in 0.23.1

Event History

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

Frequently Asked Questions

1

Who is exposed to this issue?

Deployments are exposed when they use Docutils before 0.23.1 to process attacker-supplied reStructuredText with the LaTeX writer and compile the resulting TeX. The issue concerns image URIs handled by that writer.

2

What does an attacker need to exploit it?

An attacker needs the ability to supply reStructuredText containing a crafted percent-encoded image URI. No privileges or user interaction are required, but successful exploitation has high attack complexity.

3

Do disabling raw content and file insertion prevent exploitation?

No. The injection can occur even when raw_enabled and file_insertion_enabled are disabled, because it is triggered through the LaTeX writer's handling of image URIs.

4

What is the impact of a successful exploit?

An attacker can inject TeX macros by closing the includegraphics argument and adding an input macro. This can embed local files into the compiled output; the provided vector indicates confidentiality impact without integrity or availability impact.

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