XURANIUM

Vulnerability brief · Ghostscript · CVE-2026-125396

Can one uploaded file run code on your server?

A Ghostscript bug nicknamed “Upload2Shell” is real and already fixed. The bigger claims about real websites come from one researcher. Here is what holds up.

Fix
Available since 8 Sept
Attacks seen
None reported
Real-site impact
Mostly one source

Last checked 22 Nov 2026Next check 23 Nov 20263 min readUpdated 1 time

The short answer

Am I affected?

Only if all three are true.

  1. 01
    Someone else can hand your system a file.An upload form, an email attachment that gets a preview, a shared print queue.
  2. 02
    That file is opened by Ghostscript.Often indirectly: image and thumbnail tools call it for PDF and PostScript-type files.
  3. 03
    Your Ghostscript is older than 10.08.0 and unpatched.Copies bundled inside other software count too.

If any one is false, this bug does not reach you. A phone, a laptop browser or a site that never processes other people’s documents is not the target.

What is confirmed, what is claimed, what nobody knows

ConfirmedThe bug exists in Ghostscript before 10.08.0 and can lead to code execution, according to the official vulnerability database and the advisory that registered it.1 Ghostscript 10.08.0, released on 8 September 2026, fixes it.3 Debian has shipped fixed packages, while Ubuntu’s page still said “Needs evaluation” when we checked on 21 November.5

ClaimedPaulos Yibelo of pwn.ai, the researcher who found the bug, says it worked against webmail, wikis and print servers in his own tests.4 Nobody independent has confirmed those results. WordPress did ship a fix for a related bug in August;6 that fix is on the record, but the link between it and this bug is his account.

Not knownWhether anyone has been attacked: none is reported. How many sites still run an unpatched copy. And whether a working attack tool is public, where the sources disagree.

How it works, in one picture

An uploaded file reaches Ghostscript, and a specially built file escapes its restricted mode A document is uploaded to a website. Ghostscript opens it inside a restricted mode to make a thumbnail. A specially built file leaves the restricted mode and runs code as the thumbnail program. A specially built file gets out and runs code as the thumbnail program Upload PDF / print Ghostscript RESTRICTED MODE Thumbnail
Visual reconstructionSimplified. It shows the kind of bug, not how to trigger it.

Prefer to watch?

The same story in 75 secondsNoah explains, Lila asks the awkward questions. Opens on YouTube.
Watch the Short →

What to do

  1. Find where Ghostscript runs. Look at anything that makes previews or converts documents: upload handlers, webmail, wikis, print servers. Check copies bundled inside other software.
  2. Check the version. 10.08.0 or newer is fixed. On Linux, a patched package from your distribution also counts even if the number is lower.
  3. Update, or wait knowingly. If your system’s maker has not shipped a fix, the table below tells you where it stands.
WhereStatus on 21 Nov 2026
Ghostscript itselfFixed in 10.08.0
DebianPatched packages out
Ubuntu“Needs evaluation”
Other systemsNot checked by us

Timeline

  1. 27 Jul 2026
    Bug found. Researcher’s account
  2. 12 Aug
    WordPress ships a fix for a related bug. Link to this bug: researcher’s account
  3. 8 Sep
    Ghostscript 10.08.0 released with the fix.
  4. 9–10 Nov
    CVE-2026-125396 published.
  5. 17 Nov
    Researcher publishes his write-up and the name “Upload2Shell”.
  6. 21 Nov
    We check: no attacks reported, Ubuntu still evaluating.

Green dots are on the record. Amber dots rest on the researcher’s own account.

About the severity score

You will see 8.5 and 7.8 quoted for this bug. Both come from VulnCheck, the organisation that registered it, using two versions of the same scale. The US national database had not added its own score when we checked.1 A score measures how bad a bug could be in the worst case, not how likely you are to be hit.

Plain questions

Is this a “zero-day”?

No. The fix shipped on 8 September, two months before the bug was publicly numbered. The risk is systems that have not installed it.

Does the attacker get full control of the machine?

Not from this bug alone. The code runs with the permissions of the program that opened the file. Some headlines say “root”; the sources do not support that.

Does it need someone to click something?

It needs the file to be opened by Ghostscript. On some systems that happens automatically when a preview is made. That is why upload forms and webmail are the worry.

Why is a two-month-old fix news now?

The researcher published his full account on 17 November. Fixes also take time to reach every system, and bundled copies are easy to forget.

Sources

  1. 1NVD record for CVE-2026-125396, published 10 Nov 2026
  2. 2VulnCheck advisory, 9 Nov 2026
  3. 3Ghostscript release notes, 10.08.0, 8 Sep 2026
  4. 4pwn.ai research write-up, 17 Nov 2026 (the discoverer)
  5. 5Debian security tracker, with the Ubuntu CVE page, checked 21 Nov 2026
  6. 6WordPress security release, 12 Aug 2026 (CVE-2026-65640)

Changes to this page

  1. 22 Nov 2026Added the video.
  2. 21 Nov 2026First published.