AI-assisted research uncovers Upload2Shell Ghostscript sandbox escape
Security research team pwn.ai published research codenamed "Upload2Shell" (CVE-2026-125396), uncovering a critical vulnerability in the 38-year-old Ghostscript: a use-after-free flaw in the Type 1 font loader allows a specially crafted document to break out of the -dSAFER sandbox and execute code as the rendering process. This means file uploads, email attachments, and even print jobs could become entry points for remote code execution (RCE). Ghostscript has already fixed the issue in version 10.08.0 released on September 8, and no active exploitation has been observed so far.
Confirmed
- The vulnerability was discovered by Paulos Yibelo with AI-assisted fuzzing; the core issue is a use-after-free in Ghostscript's Type 1 font loader that can bypass the -dSAFER sandbox mechanism
- The impact spans Debian 13, Ubuntu, WordPress, and Roundcube, and also affects Google-related systems
- Ghostscript fixed the issue in version 10.08.0 on September 8; Debian, Ubuntu, WordPress, Roundcube, and other platforms have all followed up with patches
- No active attacks exploiting this vulnerability have been observed so far
Why it matters
- Ghostscript converts PDFs and print files into images, underpinning upload processing in many web applications; any path that accepts file uploads can trigger RCE, making the attack surface extremely broad
- ccerrato147 warns that many applications bundle their own copies of older Ghostscript, so upgrading system packages alone is not enough—versions inside servers and containers must be checked individually, which remains the main remaining challenge of the remediation effort
2026-11-22 ~ 2026-11-22 · 5 related posts
Primary sources
- Upload2Shell: one bug turns file uploads, attachments and print jobs into RCE — evilsocket · 2026-11-22
- Upload2Shell: Ghostscript Sandbox Escape Hits Google, WordPress, Dropbox, Debian — moyix · 2026-11-22
- AI Finds Ghostscript Upload Flaw Enabling Server-Side Code Execution — ccerrato147 · 2026-11-22
- [source] AI-Assisted Find Exposes 38-Year-Old Ghostscript Flaw; Patches Roll Out — ccerrato147 · 2026-11-22
1 near-duplicate retellings: evilsocket