Skip to content
FrameFrame home
PlatformBreach CheckFrame agentExtensionPrivacyBusinessPricing
Sign inSample report
FrameFrame home

Your digital life. Back in your hands.

100% Canadian-owned · Support: support@frameprivacy.com

Product

  • Platform
  • Sample report
  • Breach Check
  • Frame agent
  • Extension
  • Mobile app
  • Pricing
  • Frame Business
  • Changelog

Resources

  • Blog
  • Help centre
  • Free leak test
  • Status
  • Data-broker catalog
  • RSS feed

Company

  • About
  • Our privacy promise
  • Contact
  • Press and brand

Legal

  • Legal hub
  • Privacy Policy
  • Terms
  • Security
  • Cookies
  • Accessibility

© 2026 Frame Labs Inc. All rights reserved.

en Englishfr Français
Your Privacy ChoicesSystem status

All posts

Research · 4 min read

Upload2Shell: a crafted image file could run commands through Ghostscript on many servers

Researchers at pwn.ai showed that a patched Ghostscript flaw, CVE-2026-125396, let a crafted file escape the sandbox and run commands through upload, preview and print features in about ten apps.

BBy Brody · FramePublished November 23, 2026
A file-upload icon in a blue circle inside dotted rings, with small printer and image icons around it, on a dark background.

Researchers at pwn.ai published work this week, which they call Upload2Shell, showing how a single patched flaw in Ghostscript could be reached through everyday upload, preview and print features in roughly ten widely used applications. The result, in their tests, was a command running on the server that processed the file. The write-up is dated November 21, 2026, and was reported by The Hacker News on November 22.

There are no reports of this being used in real attacks, and the flaw was fixed in September. It is a useful look at how one buried component can sit under a lot of software at once.

What Ghostscript is, and why this reaches so far

Ghostscript is the interpreter many Linux servers use to turn PDFs, PostScript files and images into other formats. Often an application never calls it directly. A common image or document library, such as ImageMagick, Pillow, libvips or a Qt plugin, will hand PostScript or EPS content to Ghostscript to render, even when the file is named .png, .jpg or .pdf. A routine task like making a thumbnail or cropping a picture can quietly start the interpreter.

The flaw, tracked as CVE-2026-125396, is a use-after-free in the part of Ghostscript that loads fonts. A crafted document uses it to switch off -dSAFER, the sandbox that is supposed to stop a document from running commands or reaching files. Ken Sharp, the Artifex developer who handled the fix, called the vulnerable step “an ancient piece of code well known to be a vulnerability, but difficult to eradicate.” The CVE is scored 8.5 out of 10.

What was actually demonstrated, and what was traced

This distinction matters. pwn.ai says it fed a crafted document through about ten applications and watched a command run, each time as the low-privilege account that does the rendering. Several of those paths needed no login at all:

  • an anonymous print job to a shared Debian 13 CUPS queue, running as the lp account
  • an emailed attachment that Roundcube webmail processed the moment the recipient opened the message
  • public upload forms in the WordPress plugins Forminator and Essential Addons for Elementor

WordPress Core itself needed more: an account that can upload files, which the Author role and higher have by default. WordPress had already closed its own part of the chain in version 7.0.4 on August 12, under a separate identifier, CVE-2026-65640. The firm’s broader research also reached a production path at Google, which has since fixed it, according to The Hacker News.

pwn.ai’s full impact index lists more software it studied, including MediaWiki, DokuWiki, Mayan EDMS, ResourceSpace and Plesk. It is worth reading their report for which cases were fully demonstrated and which were traced through source code, and the access each one needs. The firm also notes that separate issues it reported at Dropbox and other services are different Ghostscript bugs, not this one.

Patching is not just an operating system update

The fix landed in Ghostscript 10.08.0 on September 8, and it only helps where it reaches the renderer an application actually uses. Updating the host operating system does not update a separate copy of Ghostscript bundled inside a container image or an application, so a document worker can keep running the old code after the host package is replaced.

Coverage across Linux distributions is uneven. pwn.ai’s survey records package status, not a tested attack path for each system. As of November 12 it listed Debian 12 as vulnerable, Amazon Linux fixes as pending, and SUSE fixes as in progress, while Ubuntu had already published its update. The firm did not establish whether current Red Hat, Rocky, AlmaLinux, Oracle Linux or stable Fedora packages carry the fix.

What to do

  1. Update Ghostscript to 10.08.0 or later, or to a distribution package that includes the fix (Debian, Ubuntu and others have backported it to older version numbers), wherever it runs, including inside container images and bundled copies, not just the host package.
  2. Require authentication on print queues so anonymous jobs cannot reach the renderer.
  3. Limit which file types your image and document processors accept, and do not trust a file’s extension.
  4. Add a system guardrail. In one of pwn.ai’s tests, an AppArmor profile stopped the compromised interpreter from launching a shell.

How Frame helps

Frame can also look up your verified emails in Have I Been Pwned’s breach database. A flaw like this is a reminder that the software behind the services you use can carry risk you never see, which is one more reason to keep accounts separated with unique passwords and two-step verification.

Related coverage

  • Java4Shell: a base64 quirk in OpenJDK that could smuggle code into servers: another research finding this month about a buried step in a widely used runtime.
  • A PostgreSQL type-confusion bug that could lead to code execution: a similar story of a trusted component turning risky in the right conditions.

Sources

  • pwn.ai, Upload2Shell, November 21, 2026
  • pwn.ai, Upload2Shell: technical analysis, November 21, 2026
  • The Hacker News, Researchers Demonstrate Ghostscript Sandbox-Escape RCE via Crafted File Uploads in Popular Apps, November 22, 2026
  • SUSE, CVE-2026-125396 security advisory
  • Research
  • Guides
More in Research

More stories

  • ResearchUnpatched Cacti flaw: four web requests from a guest session can run commands on the monitoring serverNovember 27, 2026 · 4 min read
  • ResearchNFS2ROOT: a 12-year-old bug in Linux’s NFS server lets anyone who can reach port 2049 get rootNovember 27, 2026 · 4 min read
  • ResearchProject Zero: flipping one bit in a .NET file got untrusted code past Windows and VirtualBox protectionsNovember 25, 2026 · 4 min read

New posts, by email.

About once a month. Plain-language privacy notes, nothing else. I never share your address.

Sent by Frame · privacy@frameprivacy.com · Privacy Policy

See what’s exposed about you.

Frame is in private beta. See what it finds, and how it helps you take it down, in a sample report built from made-up data.

See a sample exposure report
FrameFrame home
PlatformBreach CheckFrame agentExtensionPrivacyBusinessPricing
Sign inSample report

See what’s exposed about you.

Frame is in private beta. See what it finds, and how it helps you take it down, in a sample report built from made-up data.

See a sample exposure report