daily brief · Nov 22, 2026
Upload2Shell (CVE-2026-125396): AI-Found Ghostscript Flaw Lets Uploaded Files Run Commands. Patch Now
Upload2Shell, a Ghostscript flaw found with AI help, lets crafted uploads run commands. Update to Ghostscript 10.08.0 and patch WordPress and Roundcube.
What to do: update Ghostscript to 10.08.0 (or your distro’s backport, such as Debian 12’s 10.0.0~dfsg-11+deb12u9) on every server and container that makes previews or thumbnails of uploaded files. Also update WordPress to 7.0.4 or 6.9.7 and Roundcube to 1.6.20 or 1.7.5. Upload2Shell, tracked as CVE-2026-125396, lets a crafted document escape Ghostscript’s sandbox and run commands, researcher Paulos Yibelo of pwn.ai reports.
Here’s the sneaky part: most apps never call Ghostscript on purpose. You upload a “.jpg” profile photo, the site crops it, an image library hands the file to Ghostscript behind the scenes, and suddenly a decades-old document interpreter is reading attacker-controlled input. Yibelo says almost every upload-enabled app he tested could be steered down that path.
The bug itself is a use-after-free in Ghostscript’s font loader. Yibelo credits OpenAI’s “GPT 5.6 Sol” with finding it while working alongside him, another example of frontier models digging up old flaws fast. Tested targets included WordPress, Roundcube, MediaWiki and a CUPS print queue; Google’s document processing was mitigated on November 10, per pwn.ai.
A research proof of concept exists, but Previdian found no confirmed malicious exploitation as of November 21. Some distro fixes, including Amazon Linux, are still pending.
Quick answers
How do I know if I'm affected?
If your app makes previews of uploaded images, PDFs or emails and Ghostscript is installed, assume yes. Check package versions with your package manager; `gs --version` alone won't show distro backports.
I updated the server. Am I done?
Not if you use containers. Rebuild images with the patched package and recreate them, then restart services that loaded the old library.
Upload2Shell Ghostscript vulnerabilitysecurityCVE-2026-125396Ghostscript 10.08.0Upload2ShellAI vulnerability discoveryWordPress security updateRoundcubeImageMagickpwn.aiPaulos Yibelo
More on: AI security · All Security briefings