# Advisory: Upload2Shell Vulnerability — Redeploy services that process untrusted files with Ghostscript or ImageMagick.

> For the complete documentation index, see [llms.txt](https://render.com/llms.txt).

## 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:

**Tab: Native runtime**

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](https://dashboard.render.com):

[image: Viewing a deploy's timestamp 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](https://dashboard.render.com).
    - Click *Manual Deploy > Deploy latest commit*:

        [image: Manually deploying a service in the Render Dashboard]

**Tab: Docker**

*If you [build from a Dockerfile](<https://render.com/docs/docker.md#building-from-a-dockerfile>):* 

1. Update your Dockerfile's base image or Ghostscript package to use version `10.08.0` or later (or a distribution package that resolves CVE-2026-125396). 

2. Commit and push your changes.

3. If your service disables auto-deploys, select *Manual Deploy > Deploy latest commit* in the Render Dashboard.

*If you [pull a prebuilt image](<https://render.com/docs/deploying-an-image.md>):* 

1. 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.

2. From your service's page in the [Render Dashboard](https://dashboard.render.com), click *Manual Deploy > Deploy latest reference*:

    [image: Manually deploying a service in the Render Dashboard]

When your service finishes building and deploying successfully, your service uses a patched version of Ghostscript.

## History of updates to this advisory

| Date | Change |
| --- | --- |
| `2026-11-23` | Posted initial advisory. |
