CVE-2026-106443: high-severity vulnerability in Kozea WeasyPrint
WeasyPrint: EPS images reach the Ghostscript interpreter resulting in RCE
Published
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.8epss 0.7%
exploitation probability
0.7%top 49% of all CVEs
observed exploitation
nono source reports it
WeasyPrint helps web developers to create PDF documents. Prior to 70.0, the image-loading path in weasyprint/images.py passes fetched image bytes from HTML img URLs, CSS image values, SVG image references, and data URIs to Pillow's generic image dispatcher without excluding EPS or PostScript formats. On hosts with Ghostscript installed, Pillow EpsImagePlugin invokes the interpreter for attacker-controlled PostScript, which can produce interpreter-permitted effects and can lead to remote code execution when the installed Ghostscript version has a usable sandbox bypass. Hosts without Ghostscript do not reach this rasterization path. This issue is fixed in version 70.0.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
Kozea · WeasyPrintRelated CVEs — Kozea WeasyPrint
In the same product, most dangerous first.
CVE-2024-28184HIGHWeasyPrint allows the attachment of arbitrary files and URLs to a PDFEPSS 0.7%CVE-2025-68616HIGHWeasyPrint Vulnerable to Server-Side Request Forgery (SSRF) Protection Bypass via HTTP RedirectEPSS 0.7%CVE-2026-49452MEDIUMWeasyPrint: CSS Injection via Presentational HintsEPSS 0.4%CVE-2026-55073MEDIUMWeasyPrint restrictive URL fetcher bypass allows local file read and SSRFEPSS 0.2%