> ## Content Index
> Fetch the complete content index at: https://blog.previdian.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Upload2Shell (CVE-2026-125396): What We Know So Far
- URL: https://blog.previdian.com/upload2shell-cve-2026-125396-what-we-know-so-far/
- Published: 2026-11-21T21:54:30.000Z
- Updated: 2026-11-21T21:59:11.000Z
- Author: Ryan Dewhurst

**Published:** 21 November 2026 | **Last Updated:** 21 November 2026, UTC

Upload2Shell, tracked as [CVE-2026-125396](https://previdian.com/CVE-2026-125396?ref=blog.previdian.com), is a Ghostscript vulnerability disclosed by [Paulos Yibelo at pwn.ai](https://pwn.ai/upload2shell/research.html?ref=blog.previdian.com). 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](https://previdian.com/CVE-2026-125396?ref=blog.previdian.com), Ghostscript                                                                                         |
| **Related Application CVEs** | [CVE-2026-65640](https://previdian.com/CVE-2026-65640?ref=blog.previdian.com), WordPress; [CVE-2026-114727](https://previdian.com/CVE-2026-114727?ref=blog.previdian.com), 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](https://explore.alas.aws.amazon.com/CVE-2026-125396.html?ref=blog.previdian.com); 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](https://github.com/ArtifexSoftware/ghostpdl/commit/1484854e0c8ddfda1baa4ad4cd965b8a9790aa81?ref=blog.previdian.com) 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](https://pwn.ai/upload2shell?ref=blog.previdian.com) 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](https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-8vr3-7mxf-gx8w?ref=blog.previdian.com). Also patch Ghostscript. |
| **Roundcube**                                     | 1.7.2 tested; email thumbnailing through ImageMagick with a permissive Ghostscript delegate    | [**1.6.20 / 1.7.5**](https://roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5?ref=blog.previdian.com) 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**](https://docs.plesk.com/release-notes/obsidian/change-log/?ref=blog.previdian.com) 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](https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs10080?ref=blog.previdian.com) 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](https://security-tracker.debian.org/tracker/CVE-2026-125396?ref=blog.previdian.com) confirms the Debian fixes, including the newer Debian 12 update. Ubuntu versions come from [USN-8949-1](https://ubuntu.com/security/notices/USN-8949-1?ref=blog.previdian.com), which fixes Yibelo’s font-loader issue before its CVE assignment; Ubuntu’s [CVE page](https://ubuntu.com/security/CVE-2026-125396?ref=blog.previdian.com) still says “Needs evaluation.”

[Amazon Linux](https://explore.alas.aws.amazon.com/CVE-2026-125396.html?ref=blog.previdian.com) still lists a pending fix for 2, 2023 and 2027 Preview. Selected [SUSE Enterprise and openSUSE Leap branches](https://www.suse.com/security/cve/CVE-2026-125396.html?ref=blog.previdian.com) 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](https://manpages.debian.org/trixie/apt/apt-get.8.en.html?utm%5Fsource=chatgpt.com) to update the installed Ghostscript package from the configured security repositories:

```
sudo apt update
sudo apt install --only-upgrade ghostscript
```

For 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](https://ubuntu.com/security/notices/USN-8949-1?utm%5Fsource=chatgpt.com). [Debian Manpages](https://manpages.debian.org/trixie/apt/apt-get.8.en.html?utm%5Fsource=chatgpt.com)

**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](https://manpages.debian.org/trixie/dpkg/dpkg-query.1.en.html?utm%5Fsource=chatgpt.com)

**Containers**

Pull a vendor image containing the fix, or [rebuild your image with patched dependencies](https://docs.docker.com/build/building/best-practices/?utm%5Fsource=chatgpt.com), 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](https://docs.docker.com/reference/cli/docker/compose/up/?utm%5Fsource=chatgpt.com)

**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](https://previdian.com/CVE-2026-125396?ref=blog.previdian.com) 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](https://pwn.ai/upload2shell/research.html?ref=blog.previdian.com)
- [pwn.ai: Application and disclosure index](https://pwn.ai/upload2shell?ref=blog.previdian.com)
- [WordPress application advisory](https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-8vr3-7mxf-gx8w?ref=blog.previdian.com)
- [Roundcube security release](https://roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5?ref=blog.previdian.com)
- [Debian vulnerability tracker](https://security-tracker.debian.org/tracker/CVE-2026-125396?ref=blog.previdian.com)
- [Ubuntu security notice](https://ubuntu.com/security/notices/USN-8949-1?ref=blog.previdian.com)

## Stay Ahead of Emerging Vulnerabilities

Previdian connects early warning with exposure checks and available temporary defences. [Request a demo](https://previdian.com/demo?ref=blog.previdian.com) to see how it could support your security team.