Check Your Website's Upload Forms for the Ghostscript Upload2Shell Flaw
A Ghostscript flaw lets a booby-trapped upload run commands on a web server. How a small business can check WordPress, upload forms and its web host this week.

Short answer: If your business website lets people upload images or PDFs, ask your web host this week whether the server's Ghostscript is patched for Upload2Shell (CVE-2026-125396). Researchers showed on Nov. 21, 2026, that a booby-trapped upload could run commands on servers with older Ghostscript. On WordPress, also confirm you're on 7.0.4 or a later patched release.
Key points
Ghostscript is a program many web servers use behind the scenes to turn PDFs and other documents into preview images. Versions before 10.08.0 have the flaw, according to the oss-security mailing list and Debian's security tracker.
The file doesn't have to look dangerous. A file named .jpg or .pdf can still end up in Ghostscript when a site makes a thumbnail, pwn.ai's write-up shows.
The research was a demonstration. Neither The Hacker News nor Cyber Security News reported confirmed attacks using it as of Nov. 22.
What to do this week: list every form on your website that accepts a file, then send your web host one question: "Is the Ghostscript used by my site's image and PDF previews patched for CVE-2026-125396?"
What is Upload2Shell?
Upload2Shell is the nickname security firm pwn.ai gave to a bug in how Ghostscript loads certain fonts. Its researcher, Paulos Yibelo, published the details on Nov. 21, 2026. A specially crafted document can switch off Ghostscript's built-in safety mode, called -dSAFER, and then run commands with the permissions of whatever program is rendering it.
Artifex, the company that maintains Ghostscript, shipped the fix in version 10.08.0 on Sept. 8, 2026, but the bug got its public ID only in November, per the pwn.ai disclosure timeline and the oss-security post. Our view: that gap matters, because a server could have skipped the September update without anyone flagging it as urgent.
The reason ordinary websites are involved is that most of them never call Ghostscript directly. Image libraries such as ImageMagick and Pillow pass PostScript content along to it on their own, even when the upload's name ends in .png or .jpg, The Hacker News explains. Making a thumbnail or cropping a photo can be enough to start it.
Which websites could be exposed?
Sites that accept files from the public and then make previews of them are the main concern. In pwn.ai's tests, which The Hacker News and Cyber Security News both describe, the researchers ran commands on servers in these setups:
WordPress with Imagick and Ghostscript, when a user with upload rights added a crafted file. Authors, Editors and Administrators have upload rights by default.
Public upload forms built with two WordPress plugins, Forminator and Essential Addons for Elementor, in the configurations tested. Visitors didn't need to log in.
Roundcube webmail, where, in the tested setup, simply viewing an email with a disguised attachment made the server build a thumbnail. Nobody had to click the attachment.
A shared network print queue on Debian 13 that accepted jobs without a password.
In every case the command ran as the low-level account that does the rendering, not as the server's top administrator, according to The Hacker News. Our view: that can still be enough to change a website or read files the site can reach.
Is my WordPress site already patched?
Probably, if your WordPress updates itself, but check two separate things. WordPress closed its own path to Ghostscript in WordPress 7.0.4 on Aug. 12, 2026, under CVE-2026-65640, and its security advisory lists fixed releases for every older branch back to 4.7, such as 6.9.7 and 6.8.8.
The Ghostscript fix is a different layer. The Hacker News notes that the WordPress fix and the Ghostscript fix sit at different points in the same chain, so one doesn't replace the other. Ghostscript lives on the server, so on managed hosting it's normally your host's job to update it.
To see whether your server even has Ghostscript, go to Tools > Site Health > Info > Media Handling in your WordPress dashboard. WordPress's Site Health documentation says that section shows the Ghostscript version when it's installed, and hosting company Wordify points site owners to the same screen.
What should I ask my web host?
Ask whether the Ghostscript that your site's image and PDF processing actually uses is version 10.08.0 or a patched build from the server's Linux vendor. Linux vendors can add the fix to an older version instead, Cyber Security News notes, so the version number alone can mislead.
For example, Debian's tracker, checked Nov. 22, 2026, lists fixed packages for Debian 12 and Debian 13, and Ubuntu's USN-8949-1 notice from Oct. 21 shipped fixed Ghostscript packages for its supported releases. Some other Linux versions still had a fix pending in mid-November, according to pwn.ai and The Hacker News.
Also ask about copies outside the main system. The Hacker News and Cyber Security News both warn that updating the server doesn't update a separate Ghostscript copy bundled inside an app or container.
How do I check my site step by step?
Update WordPress. In the dashboard, open Dashboard > Updates and confirm you're on a patched release from the WordPress advisory. WordPress said sites with automatic background updates would update on their own.
Check Media Handling. Open Site Health > Info > Media Handling and note whether a Ghostscript version is listed. If it is, send that version to your host.
List your upload fields. Write down every contact, job application, quote or registration form that takes a file. Our tip: turn off file uploads on any form that doesn't need them, and limit the rest to the file types you really use.
Review who can upload. Wordify recommends checking who holds Author access or higher, since that role can upload by default. Remove old staff and freelancer accounts.
Ask about webmail and print. If your host gives you Roundcube webmail, or your office shares a network printer on a Linux server, ask whether those are patched too. Cyber Security News says shared print queues should require a login.
Don't forget staging copies. Wordify notes that a forgotten test copy of your site is just as exposed as the real one.
What should a Southwest Michigan small business do with this?
A Kalamazoo contractor with a "send us photos of the job" form, an Allegan County nonprofit that takes volunteer applications as PDFs, or a Portage insurance agency that collects signed forms online all accept files from strangers. That's the exact feature this research targeted.
The fix is a short conversation, not a rebuild. Send your host the one question above, screenshot your Site Health Media Handling section, and switch off any upload field nobody uses. If you manage your own server, update the Ghostscript package from your Linux vendor and restart the services that make previews.
Our view
This is a patch-and-confirm story, not a panic story. The fix has existed since September, and no confirmed attacks had been reported as of Nov. 22. The useful lesson is broader: an upload form is a door into your server, and it's worth knowing which programs open the files that come through it.
Frequently asked questions
Does this affect sites built on Wix, Squarespace or Shopify? Our view: those platforms run their own servers, so you can't patch them yourself. Our tip: if you're unsure, ask the platform's support whether its file processing uses a patched Ghostscript.
My site doesn't use WordPress. Can it still be affected? Yes. The researchers also reached Ghostscript through webmail, print servers and other apps that make previews. Any server that turns uploaded documents into images is worth checking.
Do I need to stop accepting PDFs? No. Once the server's Ghostscript is patched, PDF uploads can keep working. Our tip: while you wait for your host's answer, temporarily limit upload fields to the file types you need most.
Is this related to the WordPress update flaw from early November? No. That was a separate WordPress core bug in the update process. This one starts in Ghostscript, a program that runs beside WordPress on the server.
For more, see our guides to patching the WordPress update flaw, checking whether your website's server needs the Apache HTTP/2 fix and checking the third-party scripts running on your business website.
Disclosure: No company or organization named in this article paid for it, reviewed it or saw it before publication. Cybercave Technologies builds, hosts and manages websites for small businesses. This article is general information, not security advice for your specific server. Version numbers and dates are as published by pwn.ai, the oss-security list, Debian, Ubuntu and WordPress, and reporting is from The Hacker News, Cyber Security News and Wordify; all were checked on Nov. 22, 2026. Not sponsored.
Sources
- PRIMARY: pwn.ai (Paulos Yibelo), "How We Hacked the Pipes: Upload2Shell," Nov. 21, 2026
- PRIMARY: pwn.ai, "Upload2Shell: CVE-2026-125396" disclosure timeline and application index, updated Nov. 18, 2026, checked Nov. 22, 2026
- PRIMARY: oss-security mailing list (Alan Coopersmith), "Ghostscript 10.08.0 fixes multiple CVEs, including upload2shell," Nov. 21, 2026
- PRIMARY: Debian Security Tracker, "CVE-2026-125396," checked Nov. 22, 2026
- PRIMARY: Ubuntu, "USN-8949-1: Ghostscript vulnerabilities," Oct. 21, 2026
- PRIMARY: WordPress.org, "WordPress 7.0.4 Release," Aug. 12, 2026
- PRIMARY: WordPress security advisory GHSA-8vr3-7mxf-gx8w (CVE-2026-65640), Aug. 12, 2026
- PRIMARY: WordPress.org Documentation, "Site Health screen," checked Nov. 22, 2026
- The Hacker News (Swati Khandelwal), "Researchers Demonstrate Ghostscript Sandbox-Escape RCE via Crafted File Uploads in Popular Apps," Nov. 22, 2026
- Cyber Security News (Guru Baran), "Hackers Could Execute Commands on WordPress, Email and Print Servers Through Upload2Shell Flaw," Nov. 22, 2026
- Wordify, "WordPress 7.0.4: one CVE, and two things have to be true," Aug. 13, 2026
