[CRIT · FIX TODAY]/News·

Ghostscript Upload2Shell: crafted documents run commands on unpatched servers; update Ghostscript

On 21 November 2026 the research team pwn.ai published its writeup and evidence index for Upload2Shell, CVE-2026-125396 in Ghostscript, the PDF and PostScript interpreter behind many previews and print jobs. A crafted document escapes Ghostscript's -dSAFER sandbox and runs commands with the rights of the process that renders it. Artifex fixed it in Ghostscript 10.08.0 on 8 September; Debian and Ubuntu shipped fixed packages in October.

Syslog card, level CRIT (fix today): Uploads can run code, Ghostscript flaw, writeup public 21 Nov. Affected: Ghostscript, WordPress, Roundcube, Plesk. To do: Update Ghostscript to 10.08.0 or distro fix; Ask your web host which Ghostscript it runs.

Does this concern you?

  • Affected: Linux servers with Ghostscript older than 10.08.0, or without a distribution fix, that convert, preview or print files they did not create: from website visitors, email senders, WordPress authors or anyone who can reach a shared print queue.
  • Skip it if: you use only Microsoft 365 or Google Workspace, a website without uploads and no shared CUPS print queue.

What to do

  • Check the package, not gs --version: dpkg -l ghostscript or rpm -q ghostscript. Fixed: 10.08.0 or later; Debian 13 10.05.1~dfsg-1+deb13u3; Ubuntu per USN-8949-1. Other systems: search your distribution's tracker for the CVE.
  • Update WordPress to 7.0.4 or the latest release of your branch (backported to 4.7); it closes the core upload path for Authors (CVE-2026-65640). No source says it closes plugin upload forms; there, the Ghostscript update is the fix.
  • Update Roundcube to 1.6.20 or 1.7.5 (CVE-2026-114727).
  • Hosting: ask the provider in writing which Ghostscript package runs.
  • Amazon Linux 2, 2023 and 2027 Preview: RuntimeWire found them listed as "Pending Fix" on 21 November. Check Amazon's tracker yourself.
  • Already hit? No indicators are published. In pwn.ai's tests commands ran as the web server, print or webmail user; unexpected processes or files of those users are a place to start.
  • Don't: rely on file extensions. Files named .png or .jpg can reach Ghostscript through ImageMagick or Pillow.

What we know – and what we don't

  • pwn.ai confirmed command execution without login through a public Forminator 1.55.1 PDF form set to store files in the Media Library, an Essential Addons for Elementor Lite 6.7.0 registration widget with an upload field, and an anonymous print job to a shared CUPS queue on Debian 13.
  • Roundcube ran a command when a crafted attachment was viewed. In Plesk Obsidian 18.0.79 only direct component tests ran it; AppArmor blocked the shell, and no live Plesk server was tested.
  • VulnCheck, the CVE's assigner, rates it High (CVSS 3.1: 7.8) as a local attack; the routes pwn.ai confirmed deliver the file over the network.
  • No exploitation is reported: CISA's assessment of 10 November lists none.

Why it matters

In our view the clock started on 21 November: the writeup is public and proofs will follow. The server nobody has updated since the September fix is the one to check first.

Sources