cyberpress.orgยท23 november 2026

Upload2Shell Ghostscript Flaw Lets Hackers Execute Commands Through Malicious File Uploads

Image for the article: Upload2Shell Ghostscript Flaw Lets Hackers Execute Commands Through Malicious File Uploads
Image via cyberpress.org

A use-after-free flaw in Ghostscript's Type 1 font loader, tracked as CVE-2026-125396 and named Upload2Shell, allows crafted documents to bypass the -dSAFER sandbox and execute OS commands with renderer privileges. The flaw, scored 8.5 on CVSS 4.0, was demonstrated remotely through WordPress uploads, Roundcube attachment previews, and network print jobs. Ghostscript 10.08.0 was patched on September 8, 2026, with distribution backports available. Until patched renderers are deployed, organizations should disable unnecessary PostScript and PDF processing for untrusted input and validate file content before thumbnail generation.