Upload2Shell (CVE-2026-125396): What We Know So Far
Published: 21 November 2026 | Last Updated: 21 November 2026, UTC
Upload2Shell, tracked as CVE-2026-125396, is a Ghostscript vulnerability disclosed by Paulos Yibelo at pwn.ai. Crafted files can escape Ghostscript’s sandbox and execute commands through vulnerable document-processing workflows. Ghostscript 10.08.0 or a vendor backport fixes the underlying vulnerability.
At a Glance
| CVE | CVE-2026-125396, Ghostscript |
| Related Application CVEs | CVE-2026-65640, WordPress; CVE-2026-114727, Roundcube |
| Affected Product | Ghostscript before 10.08.0 without the relevant backport; applications that pass untrusted files to it |
| Severity | High: 7.8 CVSS v3.1, assessed by Amazon Linux; 8.5 CVSS v4.0 in the CNA record |
| Exploitation Status | Research demonstrations published; no confirmed malicious exploitation identified in the sources checked |
| Public Exploit | Native-memory proof of concept available; complete application-chain PoCs not yet published |
| Patch Available | Yes. Ghostscript fixes and several application-level mitigations are available |
What Is Upload2Shell?
Artifex’s fix addresses unsafe operand handling in Ghostscript’s Type 1 font loader. A crafted document can trigger a use-after-free, gain native memory control and bypass the interpreter’s -dSAFER restrictions. Commands run with the rendering process’s privileges.
Applications can reach Ghostscript indirectly through image and document libraries. A preview, thumbnail or conversion can therefore expose the vulnerable interpreter even when the application never calls it directly.
Who Is Affected?
Exposure requires a vulnerable Ghostscript build and a reachable processing path. The researcher’s application index records the configurations below. Tested versions are not exhaustive affected ranges.
Affected Applications and Fixes
| Application | Affected or Tested Configuration | Fixed Version or Remediation |
|---|---|---|
| WordPress Core | 7.0.0–7.0.3, 6.9.0–6.9.6 and older branches; upload_files permission, Imagick and Ghostscript | 7.0.4 / 6.9.7, plus older branch fixes. Also patch Ghostscript. |
| Roundcube | 1.7.2 tested; email thumbnailing through ImageMagick with a permissive Ghostscript delegate | 1.6.20 / 1.7.5 harden image processing. Also patch Ghostscript. |
| Debian 13 CUPS | Shared queue accepting anonymous IPP print jobs | Install the fixed Ghostscript package listed below; restrict queue access. |
| Forminator | 1.55.1 on WordPress 7.0.2; public PDF uploads stored in Media Library | Update WordPress and Ghostscript. Plugin-specific fixed version unconfirmed. |
| Essential Addons for Elementor Lite | 6.7.0, Elementor 4.2.0, WordPress 7.0.2; public registration upload field | Update WordPress and Ghostscript. Plugin-specific fixed version unconfirmed. |
| MediaWiki + PdfHandler | 1.46.0; anonymous PDF uploads enabled and thumbnail generation | Patch Ghostscript. Application-specific fixed version unconfirmed. |
| DokuWiki | 2026-07-14a; open uploads/resizing; optional ImageMagick backend with a permissive policy | Patch Ghostscript. Application-specific fixed version unconfirmed. |
| Mayan EDMS | 4.11.5; automatic import from a configured POP3 inbox | Patch the container’s Ghostscript. Application-specific fixed version unconfirmed. |
| ResourceSpace | 11.0 r29423; authenticated or upload-share access | Patch the preview worker’s Ghostscript. Application-specific fixed version unconfirmed. |
| Plesk Obsidian | 18.0.79 with Roundcube 1.6.17; direct component tests | 18.0.81 Update 5 includes Roundcube 1.6.20 hardening. Separately patch Ghostscript. |
| Google Docs, Chat, Drive and Gmail processing | Researcher demonstrated renderer control and a bounded file read | Mitigated 10 November 2026, according to pwn.ai. |
The Plesk result did not test a deployed endpoint; enforced AppArmor blocked shell execution in a separate test. WordPress Core normally requires Author-level upload privileges, while the tested plugin configurations exposed public upload routes.
Gradio 6.32.0 reached Ghostscript during testing. InvokeAI, AUTOMATIC1111, ComfyUI, Frappe/ERPNext, Home Assistant Core, CVAT, Paperless-ngx and django-filer are additional source-mapped candidates, not confirmed end-to-end exploitation demonstrations. Dropbox’s finding belongs to separate Ghostscript research.
Is Upload2Shell Being Exploited in the Wild?
The published demonstrations and proof of concept establish exploitability, not malicious exploitation in the wild. The public proof changes native memory without executing a shell command.
Previdian’s available records contain no CVE-linked honeypot observations for Upload2Shell or the related WordPress and Roundcube CVEs yet, as of 21 November 2026.
Is a Patch or Mitigation Available?
Yes. Ghostscript 10.08.0 contains the upstream fix. Distribution backports can carry the fix under an older version number.
Fixed Distribution Packages
| Platform | Fixed Package or Published Status |
|---|---|
| Debian 12 | 10.0.0~dfsg-11+deb12u9 |
| Debian 13 | First fixed: 10.05.1~dfsg-1+deb13u2; current security build: 10.05.1~dfsg-1+deb13u3 |
| Ubuntu 26.10 | 10.07.1~dfsg-1ubuntu2.1 |
| Ubuntu 26.04 LTS | 10.06.0~dfsg-3ubuntu1.2 |
| Ubuntu 24.04 LTS | 10.02.1~dfsg1-0ubuntu7.10 |
| Ubuntu 22.04 LTS | 9.55.0~dfsg1-0ubuntu5.15 |
| Ubuntu 20.04 LTS, Pro | 9.50~dfsg-5ubuntu4.15+esm3 |
| Ubuntu 18.04 LTS, Pro | 9.26~dfsg+0-0ubuntu0.18.04.18+esm6 |
| Ubuntu 16.04 LTS, Pro + Legacy | 9.26~dfsg+0-0ubuntu0.16.04.14+esm11 |
Debian’s current tracker confirms the Debian fixes, including the newer Debian 12 update. Ubuntu versions come from USN-8949-1, which fixes Yibelo’s font-loader issue before its CVE assignment; Ubuntu’s CVE page still says “Needs evaluation.”
Amazon Linux still lists a pending fix for 2, 2023 and 2027 Preview. Selected SUSE Enterprise and openSUSE Leap branches remain affected or in progress. Packages awaiting QA are not released fixes.
What Should Defenders Do?
Update Ghostscript and affected applications to releases containing the fixes. Until remediation is complete, restrict public uploads, automatic document imports and unauthenticated print queues.
How Do I Update Ghostscript?
Debian and Ubuntu Servers
On the server or worker that processes files, use the package manager to update the installed Ghostscript package from the configured security repositories:
sudo apt update
sudo apt install --only-upgrade ghostscriptFor library-only installations, run the same upgrade command for the installed libgs9 or libgs10 packages and their matching -common packages, as listed in the distribution advisory. Debian Manpages
Verify the Installed Packages
Check the full package revisions:
dpkg-query -W ghostscript 'libgs[0-9]*'Compare the output with the fixed versions above. gs --version alone does not identify distribution backports. Restart long-running services that loaded the old Ghostscript library. manpages.debian.org
Containers
Pull a vendor image containing the fix, or rebuild your image with patched dependencies, then recreate the affected containers. Updating the host or restarting an existing container does not replace its Ghostscript packages. Verify the versions inside each updated worker. Docker Docs
Managed Hosting and Bundled Software
Ask the provider or vendor to confirm that the Ghostscript copy used for document processing contains the CVE-2026-125396 fix. Obtain the relevant service or application update and request confirmation of the fixed package or bundled version.
Updates
- 21 November 2026, UTC: Initial publication, including current Debian 12 package status and Plesk’s Roundcube update.
References
- pwn.ai: Upload2Shell technical research
- pwn.ai: Application and disclosure index
- WordPress application advisory
- Roundcube security release
- Debian vulnerability tracker
- Ubuntu security notice
Stay Ahead of Emerging Vulnerabilities
Previdian connects early warning with exposure checks and available temporary defences. Request a demo to see how it could support your security team.