AploSec / Disclosures / CVE-2026-144963
Docutils before 0.23.1 TeX Injection via LaTeX Writer Image URIs
CVE-2026-144963 · published 2026-12-04
In plain words: this type of bug lets someone inject their own content into data the application builds (injection). A fixed release is listed.
Summary
CVE-2026-144963 affects Docutils (PyPI) < 0.23.1: TeX Injection via LaTeX Writer Image URIs (CWE-74). Fixed in 0.23.1. CVSS 4.0 base score 8.2 (High), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade Docutils to 0.23.1 or later. Releases in the affected range (< 0.23.1) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-12-04 CVE published
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/docutils-before-0.23.1-tex-injection-via-latex-writer-image-uris
- Fix commithttps://github.com/docutils/docutils/commit/d5a9b02bc34e5137fcb333dc1e26835f14c02587
- Referencehttps://pypi.org/project/docutils/0.23.1/
- Vulnerable codehttps://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/latex2e/__init__.py#L2471-L2535
- Vulnerable codehttps://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/__init__.py#L185-L191
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144963
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-144963
- Severity
- High 8.2CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- Docutils
- Ecosystem
- PyPI
- Affected
- < 0.23.1
- Fixed
- 0.23.1
- Weakness
- CWE-74
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder