Hackers Could Execute Commands on WordPress, Email and Print Servers Through Upload2Shell Flaw
Ghostscript vulnerability Upload2Shell allows command execution on WordPress, email, and print servers.
A vulnerability dubbed Upload2Shell (CVE-2026-125396) in Ghostscript allows attackers to execute commands on servers running WordPress, Roundcube webmail, and Linux print servers. The flaw, found in the Type 1 font loader, bypasses Ghostscript's sandbox via a use-after-free memory error. Researchers demonstrated exploitation through WordPress's media preview, Roundcube's thumbnail generation, and CUPS print jobs, with the fix available in Ghostscript 10.08.0.
AI summary of the linked source. Not reviewed by an editor. How this works
Run Ghostscript?
Get an email when a new story names Ghostscript, usually within the hour.
Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy
The lesson from this incident
Full lessonA use-after-free memory error in Ghostscript's Type 1 font loader allowed attackers to escape the application's sandbox and execute arbitrary commands on servers running widely deployed software including WordPress, Roundcube, and CUPS. The danger is amplified because Ghostscript is a deeply embedded, often-invisible dependency — administrators may not even know it is present on their systems. Exploitation paths through routine features like media previews, thumbnail generation, and print job processing mean that normal user activity can silently trigger the vulnerability. A fix is available in Ghostscript 10.08.0, making prompt patching the most critical remediation step, but organizations must first know where Ghostscript is deployed to act on that fix.
What helps against this
How we list vendors- Vulnerability scanning and prioritisation
You know which systems are vulnerable, and which ones to fix first.
- Automated patch management
Known holes get closed in days, not months.
- Endpoint detection and response (EDR and XDR)
Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped.
Indicators of Compromise
Addresses and file hashes are copied from the publisher's page by pattern matching. Names are picked by AI. On stories from before 17 November 2026, some addresses and hashes were picked by AI too. Not reviewed by an editor. How this works
- cve: CVE-2026-65640
- cve: CVE-2026-125396