CVE-2026-106443: Kozea WeasyPrint · Improper Input Validation
Affects Kozea WeasyPrintSource CVE Database V5
Not known to be exploited · CVSS 8.8 High : upgrade to 70.0 soon.
Data as of 20 Nov 2026, 17:34 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 60% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 70.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 6 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.
What to do
Upgrade WeasyPrint and weasyprint to 70.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| KozeaWeasyPrint | Affected
| Fixed in
|
PyPIweasyprintpkg:pypi/weasyprintOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The vulnerability arises from missing input format validation and reliance on Ghostscript for EPS rasterization. Mitigation involves avoiding rendering untrusted EPS/PS image inputs or disabling Ghostscript on hosts running WeasyPrint. Since this is an environment dependency, removing or restricting Ghostscript reduces risk. Monitor vendor advisories for official patches or updates.
Description
CVE-2026-106443 is a high-severity remote code execution vulnerability in Kozea WeasyPrint that arises from improper input validation. WeasyPrint passes untrusted image bytes directly to Pillow's format dispatcher without restricting input formats. When Ghostscript is installed on the host, Pillow's EPS image plugin invokes Ghostscript to rasterize EPS/PS input, allowing attacker-controlled PostScript to execute. Hosts running vulnerable Ghostscript versions with known -dSAFER bypasses can be fully compromised. The vulnerability affects WeasyPrint versions prior to 70.0 and impacts any deployment rendering untrusted content on hosts with Ghostscript installed.