Most businesses have at least one of these on their website or network right now: a PDF upload form, an email system that generates previews of attachments, or a shared network printer. New research shows that all three can be turned into an open door for attackers — through a single, unglamorous component almost nobody thinks about: Ghostscript.
Ghostscript is the software that quietly converts and renders PDFs, PostScript files, and images behind the scenes in hundreds of applications, from WordPress plugins to webmail clients to print servers. This weekend, security researchers published details of a flaw, now tracked as CVE-2026-125396 and nicknamed "Upload2Shell", that lets a specially crafted file escape Ghostscript's internal safety sandbox and run commands directly on the server processing it.
What exactly is broken
The flaw is a use-after-free bug in Ghostscript's Type 1 font loader. In plain terms: a malicious file can corrupt memory in a way that disables Ghostscript's built-in safety switch (-dSAFER), after which the attacker's code runs with the same permissions as the rendering process itself — often the web server or mail server. According to The Hacker News, security firm pwn.ai demonstrated this week that around ten common applications could be tricked into feeding Ghostscript such a file.
What makes this dangerous is not the bug itself but how easily it can be reached. Researchers at pwn.ai showed it works through everyday business features — not obscure admin tools. And according to reporting from LavX News, several of these paths required no login at all:
- An anonymous print job sent to a shared Debian 13 print queue
- An email attachment that Roundcube webmail previews automatically when a recipient simply opens the message
- Public file upload forms in the popular WordPress plugins Forminator and Essential Addons for Elementor
Even though CVE-2026-125396 is officially classified as a "local" vulnerability, pwn.ai's tests reached it remotely over the network — via printing, email, and web uploads — which is exactly how real attackers will use it.
The fix already exists — most servers just don't have it yet
The good news: Ghostscript's maintainer, Artifex, patched this on 8 September in version 10.08.0, with fixes backported to older release lines too, according to BleepingComputer. There are no confirmed reports of exploitation in the wild yet. But because Ghostscript is bundled deep inside hosting stacks, Docker images, CMS installations, and print servers, most deployments are still running the vulnerable version months later — it rarely shows up as something IT teams actively track or update.
What to check today
- Find out where Ghostscript lives in your stack. Check your hosting provider, CMS plugins that handle file conversion or thumbnails, your mail server, and any Linux print servers (CUPS/Debian).
- Confirm the version. You need 10.08.0 or a patched backport. If you're not sure, ask your hosting provider or IT partner directly — don't assume it's current just because the server was set up recently.
- Review upload forms. If your site runs Forminator or Essential Addons for Elementor, check for plugin updates and consider temporarily disabling public upload fields until confirmed patched.
- Lock down anonymous printing. Shared print queues that accept jobs without authentication should require login, especially if reachable from outside your office network.
- Be cautious with webmail previews. If your business uses Roundcube or similar self-hosted webmail, confirm it pulls in a patched Ghostscript version before attachments are previewed automatically.
This is another reminder that the riskiest vulnerabilities today are rarely in the tools you watch closely — they hide inside the everyday features you never think to question, like a file upload box or a print queue. Flitz.ai keeps tracking stories like this one so Swiss business owners don't have to chase every advisory themselves. If you'd rather have someone else verify your servers, plugins and print setup are actually patched, The Mejlerö Company (Flitz.ai) offers a free network analysis and a free one-hour consultation to help you find and close gaps like this one before anyone else does.