Upload2Shell Ghostscript Flaw Enables Command Execution Through File-Rendering Workflows
Vulnerability Disclosure · 27 sources · Updated 4d ago · First seen Nov 22, 2026

A use-after-free vulnerability in Ghostscript’s Type 1 font loader, tracked as CVE-2026-125396 and dubbed Upload2Shell, can allow malicious files to bypass its safer-mode restrictions and execute commands. Researchers demonstrated exploitation through WordPress media previews, Roundcube attachment thumbnails, and shared CUPS print queues. The demonstrations were not confirmed attacks in the wild, and commands ran with the rendering service account’s permissions—not automatically as root. Upstream Ghostscript releases before 10.08.0 are affected.
Artifex fixed the underlying flaw in Ghostscript 10.08.0, Debian backported the fix into its security package, and Ubuntu released fixed packages for seven supported releases on October 21. WordPress separately addressed an Author-or-higher upload route under CVE-2026-65640, while Roundcube restricted unsafe attachment image types before ImageMagick conversion under CVE-2026-114727. Administrators should verify the Ghostscript package actually used by each rendering worker, install applicable distribution and application updates, and restrict untrusted rendering and print-job submission. Researchers also reported additional Ghostscript issues upstream and warned that other file-processing applications could expose the vulnerability.
Why it matters
Upload2Shell creates a high-severity command-execution risk for services that render attacker-controlled files through vulnerable Ghostscript, including upload previews, webmail thumbnails, document imports, and shared print queues. Researchers demonstrated remote delivery, including unauthenticated paths, but commands ran with the rendering account's permissions—not automatically as root—and the supplied reporting identifies no confirmed malicious exploitation in the wild. Exposure is potentially broad across file-processing workflows, while demonstrated exploitability remains configuration-dependent. Research, exploitation status
- Business consequences: a compromised renderer could expose or modify files available to its account and disrupt processing services; the CVE assessment assigns high confidentiality, integrity, and availability impacts. Access to application secrets or host resources depends on account permissions and external confinement. CVE record, research
- Industry-specific impact: Information Technology is specifically supported by researcher-reported access to Google's production image/document renderer, including a bounded worker /proc/version read through Google service delivery paths. This is evidence of an affected technology-service operation during authorized research, not a malicious breach; the reporter stated that no Google or customer secrets were accessed. Other industries are not specifically established, and exposure is not exclusive to technology organizations. Research, upstream report
- Geography-specific impact: Geography-specific impact is not established. The supplied evidence does not identify affected operations, populations, or targeting in a particular country; advisory publishers' locations and vendor headquarters do not establish geographic impact.


