CVE-2026-144963
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.
CVSS
HIGH 8.2 · v4.0
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XWEAKNESSES
REFERENCES
- https://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/__init__.py#L185-L191
- https://github.com/docutils/docutils/blob/7736f5a7cdf287b85204d5ffe50b141e97bf7448/docutils/docutils/writers/latex2e/__init__.py#L2471-L2535
- https://github.com/docutils/docutils/commit/d5a9b02bc34e5137fcb333dc1e26835f14c02587
- https://pypi.org/project/docutils/0.23.1/
- https://www.vulncheck.com/advisories/docutils-before-0.23.1-tex-injection-via-latex-writer-image-uris
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.