Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilityinternet-facing-service-vulnerabilitywidely-deployed-product-advisoryinitial-access-method

Upload2Shell Ghostscript Flaw Enables Command Execution Through File-Rendering Workflows

Vulnerability Disclosure · 27 sources · Updated 4d ago · First seen Nov 22, 2026

Upload2Shell Ghostscript Flaw Enables Command Execution Through File-Rendering Workflows

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.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

14 events · Nov 9, 2026 – Nov 25, 2026
  1. Nov 25, 20268d ago

    Red Hat releases Ghostscript fixes for RHEL 8, 9 and 10

    Red Hat addressed CVE-2026-125396 in Red Hat Enterprise Linux 8, 9 and 10 through advisories RHSA-2026:103524, RHSA-2026:103523 and RHSA-2026:103517, respectively. The Ghostscript vulnerability allows crafted PostScript or PDF documents to bypass the -dSAFER sandbox and execute arbitrary code.

    2569593 - (CVE-2026-125396) CVE-2026-125396 ghostscript: Ghostscript: Arbitrary code execution via SAFER sandbox bypass
  2. Nov 23, 202610d ago

    Splunk publishes Upload2Shell detection analytics

    Splunk published detection analytics correlating suspicious PostScript or EPS uploads disguised with image or PDF filenames with endpoint execution evidence. The guidance cautions that file-type mismatches alone do not prove exploitation and that malicious document processing may not spawn a shell.

    Analytics Story: Upload2Shell - CVE-2026-125396 | Splunk Security Content
  3. Nov 22, 202611d ago

    AlmaLinux releases Upload2Shell fixes to testing for versions 8, 9 and 10

    AlmaLinux made backported Ghostscript and libgs fixes for CVE-2026-125396 available in its almalinux-testing repository for AlmaLinux 8, 9 and 10. The patched packages were pending production release.

    Upload2Shell (CVE-2026-125396): Patched Ghostscript available in testing | AlmaLinux OS
  4. Nov 21, 202612d ago

    Researchers disclose additional Upload2Shell application exploit chains

    Paulos Yibelo published research documenting Upload2Shell command-execution demonstrations through MediaWiki, DokuWiki, Mayan EDMS, ResourceSpace and unauthenticated WordPress plugin upload paths. These were controlled demonstrations, with access requirements dependent on application configuration and commands running with the rendering process's privileges.

    How We Hacked the Pipes - Upload2Shell - pwn.ai
  5. Nov 18, 202615d ago

    pwn.ai adds native-write and Debian 13 CUPS proofs of concept

    pwn.ai updated its Upload2Shell evidence index with a native-write proof of concept and remote-execution proofs involving Debian 13 CUPS. These research artifacts expanded the publicly available technical evidence for exploiting the Ghostscript vulnerability.

    Upload2Shell Ghostscript sandbox escape RCE threat: detection, logs and IOCs
  6. Nov 17, 202616d ago

    Researchers publish Upload2Shell demonstrations across webmail, WordPress and CUPS

    Paulos Yibelo and pwn.ai published research demonstrating command execution through WordPress media previews, Roundcube attachment thumbnails and shared CUPS print queues. These were research demonstrations rather than confirmed attacks in the wild, and commands ran with rendering-service permissions rather than automatically as root.

    Hackers Could Execute Commands on WordPress, Email and Print Servers Through Upload2Shell Flaw
  7. Nov 10, 202623d ago

    Google mitigates exploitable document-rendering path

    Google mitigated a document-rendering path that pwn.ai researchers reportedly exploited through a signed-out request involving an attacker-hosted file. The researchers reported control of the renderer and limited file-read access on its worker.

    Upload2Shell: Ghostscript CVE-2026-125396 Upload RCE
  8. Nov 9, 202624d ago

    VulnCheck publishes CVE record detailing Ghostscript sandbox escape

    VulnCheck published CVE-2026-125396, explaining how Ghostscript's .putgstringcopy procedure exposes the privileged .forceput operator through a custom error handler. Crafted PostScript or PDF documents can then trigger a use-after-free across save/restore operations to bypass -dSAFER and execute arbitrary code.

    CVE Record: CVE-2026-125396
  9. Reported Sep 17, 20263mo ago

    Ubuntu releases fixed Ghostscript packages for seven supported releases

    Ubuntu released fixed Ghostscript packages for seven supported releases. Its security notice described the researchers' font-loader finding before a CVE number had been assigned.

    Upload2Shell · CVE-2026-125396 · pwn.ai research
  10. Reported Sep 17, 20263mo ago

    Researchers report additional Ghostscript vulnerabilities upstream

    The researchers reported several additional Ghostscript issues of lower or comparable impact to the upstream maintainers. The supplied content does not identify those issues individually or describe their remediation status.

    Upload2Shell · CVE-2026-125396 · pwn.ai research
  11. Reported Sep 17, 20263mo ago

    Roundcube restricts unsafe attachment types before image conversion

    Roundcube restricted unsafe attachment image types before ImageMagick conversion under CVE-2026-114727. The change closed an application-level route through which attachment thumbnail generation could reach Ghostscript.

    Upload2Shell · CVE-2026-125396 · pwn.ai research
  12. Reported Sep 17, 20263mo ago

    WordPress closes an authenticated upload route into Ghostscript

    WordPress fixed the upload issue tracked as CVE-2026-65640 in version 7.0.4 and backported the change, including to version 6.9.7. The affected core route required media-upload privileges, held by Author-level users and higher by default.

    Upload2Shell · CVE-2026-125396 · pwn.ai research
  13. Reported Sep 17, 20263mo ago

    Debian backports the Ghostscript fix

    Debian backported the upstream Ghostscript fix into its security packages. Debian 13 first received the fix in package version 10.05.1~dfsg-1+deb13u2.

    Upload2Shell · CVE-2026-125396 · pwn.ai research
  14. Reported Sep 17, 20263mo ago

    Artifex fixes Upload2Shell in Ghostscript 10.08.0

    Artifex fixed the Ghostscript Type 1 font-loader use-after-free vulnerability tracked as CVE-2026-125396 in version 10.08.0. The flaw allowed crafted documents to bypass Ghostscript's -dSAFER restrictions and execute commands with the renderer's permissions.

    Upload2Shell · CVE-2026-125396 · pwn.ai research
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Vulnerabilities

1 linked

Affected products

18 linked
Essential Addons For ElementorMediawikiResourcespaceRoundcube WebmailGhostscriptWordpressPleskCupsGmailGoogle Docs+8 more

Organizations

2 linked
PleskGoogle
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.