# Researchers Demonstrate Ghostscript Sandbox-Escape RCE via Crafted File Uploads in Popular Apps

Source: [The Hacker News](https://thehackernews.com/2026/11/researchers-demonstrate-ghostscript.html) · 2026-11-22 · Security
Page: https://themorning.dev/story/researchers-demonstrate-ghostscript-sandbox-escape-rce-via-crafted-file-uploads-0be8ff22df4a77bf
Kind: security · Impact: high

## In brief

- Ghostscript 10.08.0 fixes multiple CVEs, including the flaw dubbed "upload2shell" (CVE-2026-125396).
- The flaw lets a crafted file escape Ghostscript's sandbox and run commands on the server processing it.
- Ghostscript is used by many Linux servers to convert uploaded PDFs, PostScript files, and images.

## Why it matters

Any server that converts user-uploaded files with Ghostscript may let an attacker run commands on it. Ghostscript 10.08.0 contains the fix, and the release was made public on 2026-09-08, so unpatched systems have been exposed since then.

## What to do

- Upgrade Ghostscript to 10.08.0 or later

## Versions

- Ghostscript 10.08.0

## CVEs

- CVE-2026-125396

## Timeline

- 2026-09-08: Ghostscript 10.08.0 released with fixes for multiple CVEs
- 2026-11-21: Upload2Shell (CVE-2026-125396) posted to oss-security and Hacker News front page
- 2026-11-22: The Hacker News reports researchers demonstrating sandbox-escape RCE via crafted uploads

## Coverage

- [Researchers Demonstrate Ghostscript Sandbox-Escape RCE via Crafted File Uploads in Popular Apps](https://thehackernews.com/2026/11/researchers-demonstrate-ghostscript.html) — The Hacker News, 2026-11-22
- [Re: Ghostscript 10.08.0 fixes multiple CVEs, including "upload2shell"](https://seclists.org/oss-sec/2026/q4/808) — Open Source Security, 2026-11-22
- [GhostScript CVE 2026-125396: "Upload2Shell"](https://pwn.ai/upload2shell/research.html) — Lobsters, 2026-11-22
- [Ghostscript 10.08.0 fixes multiple CVEs, including "upload2shell"](https://seclists.org/oss-sec/2026/q4/806) — Open Source Security, 2026-11-21
- [Upload2Shell (CVE-2026-125396)](https://pwn.ai/upload2shell) — Hacker News: Front Page, 2026-11-21

Tags: ghostscript, security, rce, sandbox-escape, file-uploads, cve

---

Brief generated by AI (claude-haiku-5-5) from the reporting listed under Coverage. Headlines belong to their publishers. The Morning Dev – https://themorning.dev
