pwn.ai stated that the Ghostscript vulnerability bypasses the sandbox to execute commands
Start here
Paulos Yibelo of pwn.ai says that with the help of GPT 5.6 Sol, he discovered a use-after-free vulnerability, Upload2Shell (CVE-2026-125396), in the Ghostscript Type 1 font loader: a crafted document can disable the -dSAFER sandbox, execute commands on the rendering server, and can be triggered via file upload, image preview, or email attachment. Debian 13 CUPS has unauthenticated remote command execution, and Roundcube, WordPress, Dropbox, and others are affected; the upload paths of InvokeAI, AUTOMATIC1111, and ComfyUI can reach Ghostscript via source mapping. Artifex fixed it in 10.08.0 on 8 September 2026, but the CVE number was only published on 9-10 November, 62 days later, during which scanners relying on the CVE had no number to look up. CSA Labs says there are no public reports of exploitation in the wild, and recommends inventorying instances including container images and upgrading; unpatched hosts should disable PostScript/EPS processing or isolate rendering.
Generated by AI from reports · Updated 1 hr ago
Progress timeline
- CSA Labs ResearchUpload2Shell: AI-assisted discovery of Ghostscript sandbox escape and lagging distro fixes
A CSA Labs research brief analyzed the Ghostscript sandbox escape vulnerability CVE-2026-125396 (Upload2Shell), whose core is a use-after-free flaw in the Type 1 font loading code; a crafted document can exploit it to disable the -dSAFER sandbox and execute commands on the rendering server. Discoverer Paulos Yibelo (pwn.ai) said the vulnerability was found with the assistance of GPT 5.6 Sol. Artifex fixed it in Ghostscript 10.08.0 on September 8, 2026, but the CVE number was only published on November 9-10, 62 days later, during which scanners relying on the CVE had no number to look up. There are currently no public reports of exploitation in the wild; the brief recommends inventorying Ghostscript instances, including container images, and upgrading to 10.08.0 or the vendor's backported version, and that unpatched hosts should disable PostScript/EPS processing or isolate rendering.
- WebAI Threat Watch (aithreat.io)· Media coverageGhostscript Upload2Shell Flaw Exposes WordPress Sites to Remote Code Execution via ImageMagick(opens the original post in a new tab)
- iThome (Taiwan)Pwn.ai says the Ghostscript font loader vulnerability Upload2Shell can trigger arbitrary memory writes via file upload
Pwn.ai used GPT 5.6 Sol to discover the Ghostscript font loader vulnerability Upload2Shell (CVE-2026-125396). Malicious PostScript is triggered via file upload, image preview or email attachment, bypassing the sandbox to execute arbitrary commands. The vulnerability affects WordPress, Roundcube, Dropbox and others; Artifex has fixed it in 10.08.0.
- Hacker NewsHacker News· DiscussionUpload2Shell (CVE-2026-125396)(opens the original post in a new tab)
- Date not givenpwn.aipwn.ai states that a Ghostscript font loader vulnerability can execute commands across the -dSAFER sandbox
pwn.ai discloses Upload2Shell: a use-after-free vulnerability in the Ghostscript Type 1 font loader; a crafted document can execute attacker-chosen commands across the -dSAFER sandbox, assigned CVE-2026-125396. Debian 13 CUPS has unauthenticated remote command execution, and production paths at Roundcube, WordPress, MediaWiki, Google and others are affected; the image upload paths of applications such as InvokeAI, AUTOMATIC1111 and ComfyUI can reach Ghostscript via source mapping, and Gradio applications were observed with a real HTTP-to-Ghostscript handoff. Ghostscript 10.08.0 has fixed it, Debian and Ubuntu released security updates, Roundcube and WordPress closed the entry points with CVE-2026-114727 and CVE-2026-65640, and Google also fixed the affected path.
Related discussion
- X@caguilar51publicó el sábado el análisis completo de Upload2Shell. CVE-2026-125396 en Ghostscript se salta -dSAFER, y basta una su…(opens the original post in a new tab)
- X@caguilar51posted the full Upload2Shell write-up Saturday. Ghostscript CVE-2026-125396 gets past -dSAFER, and plain image uploads…(opens the original post in a new tab)
- X@devopsdomWe saved an EPS as avatar.png and gave it to Pillow. open() said EPS. load() started Ghostscript: gs -q -g100x100 ...…(opens the original post in a new tab)
- X@LifanBuilds4/ Upload2Shell (CVE-2026-125396, 153 HN pts) escapes Ghostscript -dSAFER via Type 1 font UAF—even via .png/.jpg upload…(opens the original post in a new tab)
- X@theVishalGhule"which gs" came back empty on my Debian 13 box. libgs10 was still installed. Upload2Shell (CVE-2026-125396) reaches Gh…(opens the original post in a new tab)
- X@tipstosecureA file named .png ran commands on the server in about ten common apps (https://t.co/ZEWk3qg4V4, CVE-2026-125396). Is yo…(opens the original post in a new tab)
- X@CarballalCUna imagen subida a un formulario puede terminar ejecutando comandos en el servidor: lo demostró la falla de Ghostscrip…(opens the original post in a new tab)
- X@ByBenjiiUne nouvelle faille découverte, cette fois dans Ghostscript, qui génère les aperçus de PDF et d'images sur beaucoup de…(opens the original post in a new tab)
- X@_damms005Heads up guys, an upload that holds PostScript can run commands on your server: ImageMagick hands it to Ghostscript. Pa…(opens the original post in a new tab)
- X@wpghostcomUpload2Shell (CVE-2026-125396): a crafted file escapes Ghostscript's sandbox. Forminator and Essential Addons upload fo…(opens the original post in a new tab)
- X@Npj8448Critical Ghostscript use‑after‑free (CVE‑2026‑125396) lets crafted PDFs break sandbox and run commands on Linux servers…(opens the original post in a new tab)
- X@zshjzlsNo clicking links, no downloading attachments—someone sends you an email, you glance at it, and the server may be compromised. The security team https://t.co/kBNTiXdKLb publicly disclosed Upload2Shell on November 17, numbered CVE-2026-125396, CVS…(opens the original post in a new tab)
Attention trend
New sources per day
- Nov 22: 13 new sources (1 outlets, 12 accounts)
- Nov 23: 23 new sources (3 outlets, 20 accounts)
- Nov 24: 0 new sources (0 outlets, 0 accounts)