Advisory: Upload2Shell Vulnerability
Redeploy services that process untrusted files with Ghostscript or ImageMagick.
Summary
On November 21, 2026, researchers published details of a vulnerability in Ghostscript, a tool for processing PDFs and PostScript files. This vulnerability, known as Upload2Shell (CVE-2026-125396), can allow remote code execution when processing a maliciously crafted file.
Tools such as ImageMagick and Pillow can call Ghostscript to process certain file formats.
If your service uses Ghostscript or a tool that depends on it, secure it as soon as possible with the guidance below.
How to secure your service
The method you use to secure your service against Upload2Shell depends on whether the service uses a Render native runtime or a Docker image:
If your service installs or bundles its own copy of Ghostscript, update that copy to version 10.08.0 or later and redeploy your service.
If you use the Ghostscript version provided by Render's native runtime, check whether your service has deployed successfully at least once since November 20, 2026 20:00 UTC.
You can confirm this from your service's Deploys page in the Render Dashboard:

-
If so, you're all set. Your service uses a patched version of Ghostscript and no action is required.
-
If not, redeploy the service from its page in the Render Dashboard.
-
Click Manual Deploy > Deploy latest commit:

-
If you build from a Dockerfile:
-
Update your Dockerfile's base image or Ghostscript package to use version
10.08.0or later (or a distribution package that resolves CVE-2026-125396). -
Commit and push your changes.
-
If your service disables auto-deploys, select Manual Deploy > Deploy latest commit in the Render Dashboard.
If you pull a prebuilt image:
-
Make sure your service's configured tag or digest points to an image that includes the fix for CVE-2026-125396. Update the tag or digest if needed.
-
From your service's page in the Render Dashboard, click Manual Deploy > Deploy latest reference:

When your service finishes building and deploying successfully, your service uses a patched version of Ghostscript.
History of updates to this advisory
| Date | Change |
|---|---|
|
|
Posted initial advisory. |