One uploaded file could hijack a WordPress server, and the culprit is a hidden tool called Ghostscript. Here is what the Upload2Shell bug means for you.

Researchers showed that a flaw in Ghostscript (CVE-2026-125396, CVSS 4.0 score 8.5 High) lets a crafted document escape its sandbox and run commands on the server. Ghostscript is a background tool many servers use to read PDFs and images, often through ImageMagick. On the researchers' own test setups, two WordPress plugins with public upload forms (Forminator and Essential Addons for Elementor) needed no login. A Roundcube webmail setup and a Debian 13 print server with an open shared queue also fell.

WHAT TO DO

  • Update Ghostscript to 10.08.0 or newer.
  • On Linux, install your distro's latest security update. Debian 13 and Ubuntu (USN-8949-1) ship backported fixes, so the version number can read lower than 10.08.0 and still be patched.
  • Some distros (Debian 12, Amazon Linux, SUSE) were still pending as of Nov 12, per the researchers.
  • Keep WordPress itself current. Core closed its own Author-level route in 7.0.4 (CVE-2026-65640).
  • No plugin-side fix is confirmed for either plugin, so consider turning off public upload fields until you know your server is patched.

ACCURACY NOTES

  • Results come from the researchers' test setups. Your exposure depends on your plugin and server configuration.
  • No attacks have been reported, and the bug is not in the CISA KEV catalog as of Nov 23, 2026.
  • This video covers defence only and contains no exploit steps.

SOURCES
https://pwn.ai/upload2shell/
https://www.cve.org/CVERecord?id=CVE-2026-125396