Upload2Shell · CVE-2026-125396

Hacker News by 8 min read 17x views
Upload2Shell · CVE-2026-125396

Share Post

Research / 2026CVE-2026-125396

A pale shade escapes a transparent pane chamber through a brilliant yellow seam against a dreary field.

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

Ghostscript sits below print, email, upload, and preview workflows. Our ImageMagick research showed how records named .png or .jpg can motionless attain Ghostscript through depiction conversion. The indicator below records confirmed affected paths alongside additional applications whose renderer routes we traced.

Upload2Shell / community record

Disclosure sequence

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

  1. 27 JUL 2026DISCOVERY

    Upload2Shell

    We established a Type 1 font-loader way out of Ghostscript's -dSAFER boundary. A crafted document gained native admission inner the rendering process.

  2. BY 30 JULGOOGLE PROOF

    Google's depiction and document pipeline

    A signed-out petition for an attacker-hosted document reached Ghostscript in Google's document renderer. We sent the manufacturing evidence to Google.

  3. 12 AUG 2026WORDPRESS FIX

    WordPress Core

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

  4. BY 02 SEPUPSTREAM REPORT

    Artifex received the Ghostscript root

    We submitted the Type 1 loader flaw upstream as Artifex Bug 709684. Our broader audit additionally produced another autonomous Ghostscript findings.

  5. 08 SEP 2026UPSTREAM RELEASE

  6. BY 09 SEPOTHER GHOSTSCRIPT ROOT

    Dropbox

    We confirmed a manufacturing document-processing finding in our broader Ghostscript research. Its idiosyncratic base and evidence pertain to a distinct case study.

  7. 12 SEP 2026DISTRIBUTION UPDATE

    Debian packaged the upstream release

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

  8. 17 SEP · 23:53 ETDEBIAN REPORT

    Debian 13 CUPS

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

  9. 18 SEP · 00:25 ETROUNDCUBE REPORT

    Roundcube

    Confirmed distant implementation following an external sender's attachment was thumbnailed whenever its email was viewed. The tested ImageMagick assign ran the evidence as www-data.

  10. 18 SEP · 00:26 ETPLESK REPORT

    Plesk Obsidian

    Confirmed command implementation in the Roundcube thumbnail way shipped alongside Plesk Obsidian. We reported the outcome to WebPros.

  11. 18 SEP · 00:26 ETELEMENTOR REPORT

    Essential Addons for Elementor

    Confirmed unauthenticated distant command implementation through a community registration widget alongside an upload site enabled. We reported the path to the plugin team.

  12. 18 SEP · 00:28 ETFORMINATOR REPORT

    Forminator

    Confirmed unauthenticated distant command implementation through a community PDF form configured to shop records in the WordPress Media Library. We sent the study to the plugin team.

  13. 18 SEP · 00:28 ETMAYAN REPORT

    Mayan EDMS

    Confirmed distant command implementation whenever a configured document inbox imported and rendered an external email attachment. We sent the worker-chain report.

  14. 18 SEP · 00:29 ETDOKUWIKI REPORT

    DokuWiki

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

  15. 18 SEP · 00:30 ETWIKIMEDIA REPORT

    MediaWiki / Wikimedia Security

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

  16. BY 18 SEPAPPLICATION TEST

    ResourceSpace

    Confirmed command implementation in the preview employee through an authenticated upload or an upload-share capability.

  17. BY 25 SEPOTHER GHOSTSCRIPT ROOT

    Redacted

    Confirmed a manufacturing path in our broader Ghostscript research. The idiosyncratic admission path, root, and evidence volition appear alongside its case study.

  18. BY 25 SEPOTHER GHOSTSCRIPT ROOT

    Redacted

    Confirmed a manufacturing path in our broader Ghostscript research. The idiosyncratic admission path, root, and evidence volition appear alongside its case study.

  19. 25 SEP 2026DEBIAN SECURITY

    Debian 13 safety update

    Debian published its archetypal stable-security Ghostscript update following our report. The current fixed safety build followed in October.

  20. 25 SEP 2026PUBLIC TEASER

    What we stated publicly

    We have established 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

  21. 10 OCT 2026DEBIAN SECURITY

    Current fixed Debian build

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

  22. 19 OCT 2026ROUNDCUBE FIX

    Roundcube hardened depiction resizing

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

  23. 21 OCT 2026UBUNTU SECURITY

    Ubuntu published fixed packages

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

  24. 06 NOV 2026CVE REQUEST

    We requested a CVE

    We submitted project requests for the Type 1 loader flaw following the upstream fix and downstream reports.

  25. 09 NOV 2026CVE PUBLICATION

    Upload2Shell / CVE-2026-125396

    The Ghostscript base received its community identifier. Individual case studies and PoCs volition be connected from the merchandise array as they appear.

  26. 10 NOV 2026GOOGLE FIX

    Google mitigated the manufacturing path

    Google fixed the affected depiction and document handling way before our community case study.

  27. NOWROLLING PUBLICATION

    The case studies begin

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

  28. ?UNPUBLISHED

    Where alternatively does Ghostscript run?

    Another imprint filter, thumbnailer, or document preview may be the next path into the interpreter. New results volition be added alongside their own trigger, evidence, and fix.

The times on 17–18 September grade whenever the vendor reports were sent. Technical evidence and admission conditions are in the indicator and writeup. Dropbox and the redacted services pertain to distinct Ghostscript findings.

Evidence indicator Updated 18 November 2026

Applications

A sole translator surfaced rearward extremely distinct file-processing features. Each admission shows who can provision the file, anywhere it goes, and what we observed or traced.

Complete network chain01

Debian 13 CUPS

Ghostscript 10.05.1~dfsg-1+deb13u1

AccessAnonymous IPP Print-Job to a shared network queue

ObservedCommand on the presenter as uid=7(lp)

ProofOne distant run; distinct 20/20 local conversions

Application chain02

Roundcube 1.7.2

Ghostscript 10.05.1

AccessExternal sender; recipient views message. Tested ImageMagick assign required.

ObservedCommand as uid=33(www-data); no attachment click

Proof5/5 message-view trials

Application chain03

Forminator 1.55.1

WordPress 7.0.2 · Ghostscript 10.05.1

AccessSigned-out community PDF form; Media Library retention enabled

ObservedCommand as uid=33(www-data)

Proof5/5 HTTP trials

Application chain04

Essential Addons for Elementor Lite 6.7.0

Elementor 4.2.0 · WordPress 7.0.2 · Ghostscript 10.05.1

AccessSigned-out community Login/Register widget alongside configured upload field

ObservedCommand as uid=33(www-data)

Proof5/5 HTTP trials

Application chain05

MediaWiki 1.46.0 + PdfHandler

Ghostscript 10.05.1

AccessAnonymous PDF upload and thumbnail on a location configured for anonymous uploads

ObservedCommand as uid=33(www-data)

Proof5/5 HTTP trials

Application chain06

DokuWiki 2026-07-14a

Ghostscript 10.05.1

AccessOpen wiki; anonymous upload and resize; optional ImageMagick backend

ObservedCommand as uid=33(www-data)

Proof5/5 HTTP trials

Application chain07

Mayan EDMS 4.11.5

Official depiction · Ghostscript 10.05.1

AccessExternal email to a configured POP3 document source

ObservedCommand as uid=1000 inner the use container

ProofOne email-to-worker run; parser 5/5

Application chain08

ResourceSpace 11.0 r29423

Ghostscript 10.05.1

AccessAuthenticated upload or valid upload-share capability

ObservedCommand in the preview worker

Proof5/5 complete API trials

Official WordPress advisory09

WordPress Core

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

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

Accessupload_files capability: Author+ by default, or a Contributor granted it; Imagick and Ghostscript required

ImpactRemote code implementation confirmed by WordPress; exact assign ran as uid=33

EvidenceOfficial advisory and release; 10/10 exact renderer trials

WordPress publish ↗GHSA advisory ↗

Plesk-shipped stack10

Plesk Obsidian 18.0.79

Roundcube 1.6.17 · Ghostscript 9.54.0

EntryRoundcube thumbnail way in the Plesk distribution

ObservedCommand as uid=995(roundcube_sysuser) in 5/5 straightforward component trials

BoundaryAppArmor blocked casing in an enforced test; deployed endpoint not tested

Renderer reached11

Gradio 6.32.0

Pillow 13.0.0 · Ubuntu 24.04 · Ghostscript installed

AccessImage submission to an unauthenticated gr.Image app

PathHTTP preprocessing loaded EPS bytes named .png through Pillow

Evidencegs -dSAFER started before the app function ran

Source-mapped path12

InvokeAI

Source revision 5921fd6e

AccessSingle-user depiction upload; no login on a reachable service

PathUpload calls Pillow Image.open() and load()

EvidenceUpload and authentication paths in pinned source

Source-mapped path13

AUTOMATIC1111 Stable Diffusion WebUI

Source revision 82a973c0 · Gradio 3.41.2 · Pillow 9.5.0

AccessShared img2img upload; login lone if configured

PathGradio depiction preprocessing converts pixels through Pillow

EvidenceImage input and preprocessing in pinned source

Source-mapped path14

ComfyUI

Source revision 0263e488

AccessImage upload and preview on a reachable service

PathPreview opens and converts the uploaded document alongside Pillow

EvidenceUpload and preview routes in pinned source

Source-mapped path15

Frappe / ERPNext

Frappe origin revision 2bf593fd

AccessImage upload alongside an account, or as a visitant whenever enabled

PathImage optimization calls Pillow thumbnail processing

EvidenceUpload handler and optimization code in pinned source

Source-mapped path16

Home Assistant Core

Source revision e87199c7 · depiction upload integration

AccessAccount depiction upload; community thumbnail endpoint

PathThumbnail loads and resizes the depiction through Pillow

EvidenceUpload and thumbnail routes in pinned source

Source-mapped path17

CVAT

Source revision b976874b

AccessTask-data upload alongside an account

PathFrame employee calls Pillow Image.open().load()

EvidenceTask path and example employee in pinned source

Source-mapped path18

Paperless-ngx

Source revision bcfdfcaa · authoritative depiction includes Ghostscript

AccessEmail attachment through a configured inbox

PathPDF/A conversion calls Ghostscript directly

EvidenceMail importer and converter in pinned source

Source candidate19

django-filer

Source revision 42ab4a73

AccessAuthenticated django-filer depiction upload

PathImage example opens the document alongside Pillow

EvidencePillow acknowledgment way in pinned source

The archetypal ten entries document Upload2Shell execution. Gradio records a live HTTP-to-Ghostscript handoff; the remaining entries map use code to image-processing sinks.

02 / 02

Production services

Production · Upload2Shell root20

Google

Image and document handling · Ghostscript 10.05.0

AccessSigned-out petition for an attacker-hosted file

ObservedNative renderer authority and a bounded employee document read

FixedGoogle mitigated the affected way on 10 November 2026

Patch status

Fix the renderer.

Ghostscript 10.08.0 fixes Upload2Shell. Debian backported the upstream alter into its safety package. Ubuntu released fixed Ghostscript packages for seven supported releases on 21 October 2026; its notice described our font-loader finding before the CVE figure was assigned. Application teams additionally closed routes into the renderer: WordPress fixed the Author+ upload way under CVE-2026-65640, and Roundcube restricted unsafe attachment depiction types before ImageMagick conversion under CVE-2026-114727. The specialized writeup lists allocation bundle versions.

We established multiple another Ghostscript issues alongside lesser or comparable effect and reported them upstream. Ghostscript sits below additional file-processing features than most applications disclose directly. We anticipate the safety community to discover additional application that reaches this exposure through uploads, thumbnails, imprint jobs, and document imports.

Other Article Hacker News
↑
Close Right Ads
Close Left Ads