Skip to content
Upload2Shell (CVE-2026-125396)

Upload2Shell (CVE-2026-125396)

News.Ycombinator • November 21, 2026

A use-after-free in Ghostscript’s Type 1 font loader lets a crafted document cross Ghostscript’s -dSAFER sandbox, alter native path controls, and execute attacker-chosen commands as the rendering process.

Ghostscript sits beneath print, email, upload, and preview workflows. Our ImageMagick research showed how files named .png or .jpg can still reach Ghostscript through image conversion. The index below records confirmed affected paths alongside additional applications whose renderer routes we traced.

Upload2Shell / public record

From the first escape to the downstream reports, fixes, and publication.

27 JUL 2026 DISCOVERY Upload2Shell We found a Type 1 font-loader path out of Ghostscript's -dSAFER boundary. A crafted document gained native access inside the rendering process.

We found a Type 1 font-loader path out of Ghostscript's -dSAFER boundary. A crafted document gained native access inside the rendering process.

BY 30 JUL GOOGLE PROOF Google's image and document pipeline A signed-out request for an attacker-hosted file reached Ghostscript in Google's document renderer. We sent the production proof to Google.

Google's image and document pipeline

A signed-out request for an attacker-hosted file reached Ghostscript in Google's document renderer. We sent the production proof to Google.

12 AUG 2026 WORDPRESS FIX WordPress Core Core's upload path exposed the renderer to Author+ users and any Contributor granted upload_files . Public upload fields in multiple plugins required no WordPress login. WordPress shipped its separate CVE-2026-65640 fix.

Core's upload path exposed the renderer to Author+ users and any Contributor granted upload_files . Public upload fields in multiple plugins required no WordPress login. WordPress shipped its separate CVE-2026-65640 fix.

BY 02 SEP UPSTREAM REPORT Artifex received the Ghostscript root We filed the Type 1 loader flaw upstream as Artifex Bug 709684. Our broader audit also produced other independent Ghostscript findings.

Artifex received the Ghostscript root

We filed the Type 1 loader flaw upstream as Artifex Bug 709684. Our broader audit also produced other independent Ghostscript findings.

08 SEP 2026 UPSTREAM RELEASE Ghostscript 10.08.0 Artifex released the fix for the Type 1 loader flaw.

Artifex released the fix for the Type 1 loader flaw.

BY 09 SEP OTHER GHOSTSCRIPT ROOT Dropbox We confirmed a production document-processing finding in our broader Ghostscript research. Its individual root and proof belong to a separate case study.

We confirmed a production document-processing finding in our broader Ghostscript research. Its individual root and proof belong to a separate case study.

12 SEP 2026 DISTRIBUTION UPDATE Debian packaged the upstream release Ghostscript 10.08.0 entered Debian unstable. The Debian 13 security update followed later.

Debian packaged the upstream release

Ghostscript 10.08.0 entered Debian unstable. The Debian 13 security update followed later.

17 SEP · 23:53 ET DEBIAN REPORT Debian 13 CUPS Confirmed unauthenticated remote command execution: an IPP job to a shared queue ran on the host as lp . We sent the network reproduction to Debian Security.

Confirmed unauthenticated remote command execution: an IPP job to a shared queue ran on the host as lp . We sent the network reproduction to Debian Security.

18 SEP · 00:25 ET ROUNDCUBE REPORT Roundcube Confirmed remote execution after an external sender's attachment was thumbnailed when its email was viewed. The tested ImageMagick delegate ran the proof as www-data .

Confirmed remote execution after an external sender's attachment was thumbnailed when its email was viewed. The tested ImageMagick delegate ran the proof as www-data .

18 SEP · 00:26 ET PLESK REPORT Plesk Obsidian Confirmed command execution in the Roundcube thumbnail path shipped with Plesk Obsidian. We reported the result to WebPros.

Confirmed command execution in the Roundcube thumbnail path shipped with Plesk Obsidian. We reported the result to WebPros.

18 SEP · 00:26 ET ELEMENTOR REPORT Essential Addons for Elementor Confirmed unauthenticated remote command execution through a public registration widget with an upload field enabled. We reported the route to the plugin team.

Essential Addons for Elementor

Confirmed unauthenticated remote command execution through a public registration widget with an upload field enabled. We reported the route to the plugin team.

18 SEP · 00:28 ET FORMINATOR REPORT Forminator Confirmed unauthenticated remote command execution through a public PDF form configured to store files in the WordPress Media Library. We sent the report to the plugin team.

Confirmed unauthenticated remote command execution through a public PDF form configured to store files in the WordPress Media Library. We sent the report to the plugin team.

18 SEP · 00:28 ET MAYAN REPORT Mayan EDMS Confirmed remote command execution when a configured document inbox imported and rendered an external email attachment. We sent the worker-chain report.

Confirmed remote command execution when a configured document inbox imported and rendered an external email attachment. We sent the worker-chain report.

18 SEP · 00:29 ET DOKUWIKI REPORT DokuWiki Confirmed command execution through an open wiki's upload and resize path using its optional ImageMagick backend. We sent the report.

Confirmed command execution through an open wiki's upload and resize path using its optional ImageMagick backend. We sent the report.

18 SEP · 00:30 ET WIKIMEDIA REPORT MediaWiki / Wikimedia Security Confirmed command execution through PdfHandler on a wiki configured for anonymous PDF uploads. We sent the MediaWiki reproduction to Wikimedia Security.

MediaWiki / Wikimedia Security

Confirmed command execution through PdfHandler on a wiki configured for anonymous PDF uploads. We sent the MediaWiki reproduction to Wikimedia Security.

BY 18 SEP APPLICATION TEST ResourceSpace Confirmed command execution in the preview worker through an authenticated upload or an upload- capability.

Confirmed command execution in the preview worker through an authenticated upload or an upload- capability.

BY 25 SEP OTHER GHOSTSCRIPT ROOT Redacted Confirmed a production route in our broader Ghostscript research. The individual access path, root, and proof will appear with its case study.

Confirmed a production route in our broader Ghostscript research. The individual access path, root, and proof will appear with its case study.

BY 25 SEP OTHER GHOSTSCRIPT ROOT Redacted Confirmed a production route in our broader Ghostscript research. The individual access path, root, and proof will appear with its case study.

Confirmed a production route in our broader Ghostscript research. The individual access path, root, and proof will appear with its case study.

25 SEP 2026 DEBIAN SECURITY Debian 13 security update Debian published its first stable-security Ghostscript update after our report. The current fixed security build followed in October.

Debian 13 security update

Debian published its first stable-security Ghostscript update after our report. The current fixed security build followed in October.

25 SEP 2026 PUBLIC TEASER What we said publicly We have found one zeroday that preauth RCE'd Debian 13, Google, Roundcube, Plesk, Wikimedia, Box, Dropbox, Zoom, Forminator, Elementor, WordPress Core, among many more. Details soon! pwn.ai · 25 September 2026

What we said publicly

We have found one zeroday that preauth RCE'd Debian 13, Google, Roundcube, Plesk, Wikimedia, Box, Dropbox, Zoom, Forminator, Elementor, WordPress Core, among many more. Details soon!

We have found one zeroday that preauth RCE'd Debian 13, Google, Roundcube, Plesk, Wikimedia, Box, Dropbox, Zoom, Forminator, Elementor, WordPress Core, among many more. Details soon!

pwn.ai · 25 September 2026

10 OCT 2026 DEBIAN SECURITY Current fixed Debian build Debian published 10.05.1~dfsg-1+deb13u3 , the Debian 13 security build now marked fixed for Upload2Shell.

Current fixed Debian build

Debian published 10.05.1~dfsg-1+deb13u3 , the Debian 13 security build now marked fixed for Upload2Shell.

19 OCT 2026 ROUNDCUBE FIX Roundcube hardened image resizing Roundcube restricted unsafe attachment image types before ImageMagick conversion under CVE-2026-114727 .

Roundcube hardened image resizing

Roundcube restricted unsafe attachment image types before ImageMagick conversion under CVE-2026-114727 .

21 OCT 2026 UBUNTU SECURITY Ubuntu published fixed packages USN-8949-1 included our Ghostscript font-loader finding and fixed package versions for seven Ubuntu releases, including Ubuntu Pro and Legacy branches.

Ubuntu published fixed packages

USN-8949-1 included our Ghostscript font-loader finding and fixed package versions for seven Ubuntu releases, including Ubuntu Pro and Legacy branches.

06 NOV 2026 CVE REQUEST We requested a CVE We submitted assignment requests for the Type 1 loader flaw after the upstream fix and downstream reports.

We submitted assignment requests for the Type 1 loader flaw after the upstream fix and downstream reports.

09 NOV 2026 CVE PUBLICATION Upload2Shell / CVE-2026-125396 The Ghostscript root received its public identifier. Individual case studies and PoCs will be linked from the product table as they appear.

Upload2Shell / CVE-2026-125396

The Ghostscript root received its public identifier. Individual case studies and PoCs will be linked from the product table as they appear.

10 NOV 2026 GOOGLE FIX Google mitigated the production path Google fixed the affected image and document processing path before our public case study.

Google mitigated the production path

Google fixed the affected image and document processing path before our public case study.

NOW ROLLING PUBLICATION The case studies begin Upstream Ghostscript and tracked WordPress, Debian, and Ubuntu fixes are available. We will link the product-specific posts, proofs, and remaining vendor responses as each is published.

The case studies begin

Upstream Ghostscript and tracked WordPress, Debian, and Ubuntu fixes are available. We will link the product-specific posts, proofs, and remaining vendor responses as each is published.

? UNPUBLISHED Where else does Ghostscript run? Another print filter, thumbnailer, or document preview may be the route into the interpreter. New results will be added with their own trigger, evidence, and fix.

Where else does Ghostscript run?

Another print filter, thumbnailer, or document preview may be the route into the interpreter. New results will be added with their own trigger, evidence, and fix.

The times on 17–18 September mark when the vendor reports were sent. Technical evidence and access conditions are in the index and writeup . Dropbox and the redacted services belong to separate Ghostscript findings.

Evidence index / Updated 18 November 2026

A single interpreter surfaced behind very different file-processing features. Each entry shows who can supply the file, where it goes, and what we observed or traced.

Ghostscript 10.05.1~dfsg-1+deb13u1

WordPress 7.0.2 · Ghostscript 10.05.1

Essential Addons for Elementor Lite 6.7.0

Elementor 4.2.0 · WordPress 7.0.2 · Ghostscript 10.05.1

MediaWiki 1.46.0 + PdfHandler

Official image · Ghostscript 10.05.1

ResourceSpace 11.0 r29423

Affected: 7.0.0–7.0.3, 6.9.0–6.9.6, and earlier branches in the advisory · Local renderer: 6.9.4 with Ghostscript 10.05.1

Product CVE-2026-65640 · Upload2Shell root CVE-2026-125396

WordPress release ↗ GHSA advisory ↗

Plesk Obsidian 18.0.79

Roundcube 1.6.17 · Ghostscript 9.54.0

Pillow 13.0.0 · Ubuntu 24.04 · Ghostscript installed

Source revision 5921fd6e

AUTOMATIC1111 Stable Diffusion WebUI

Source revision 82a973c0 · Gradio 3.41.2 · Pillow 9.5.0

Source revision 0263e488

Frappe source revision 2bf593fd

Source revision e87199c7 · image upload integration

Source revision b976874b

Source revision bcfdfcaa · official image includes Ghostscript

Source revision 42ab4a73

The first ten entries record Upload2Shell execution. Gradio records a live HTTP-to-Ghostscript handoff; the remaining entries map application code to image-processing sinks.

Image and document processing · Ghostscript 10.05.0

Ghostscript 10.08.0 fixes Upload2Shell. Debian backported the upstream change into its security package. Ubuntu released fixed Ghostscript packages for seven supported releases on 21 October 2026 ; its notice described our font-loader finding before the CVE number was assigned. Application teams also closed routes into the renderer: WordPress fixed the Author+ upload path under CVE-2026-65640 , and Roundcube restricted unsafe attachment image types before ImageMagick conversion under CVE-2026-114727 . The technical writeup lists distribution package versions.

We found several other Ghostscript issues with lower or comparable impact and reported them upstream. Ghostscript sits beneath more file-processing features than most applications expose directly. We expect the security community to find additional software that reaches this vulnerability through uploads, thumbnails, print jobs, and document imports.

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.