Skip to content
Guide
SYSTEMS SHIFT:

Ghostscript flaw lets disguised uploads escape server sandbox

Newsroom brief

An AI-assisted discovery exposed a Ghostscript sandbox escape through disguised document uploads. Fixes are available, but backported patches make version strings an unreliable guide to exposure.

Verified against source materialSource: itnews.com.au
Ghostscript flaw lets disguised uploads escape server sandbox
Image source: iTnews / Nextmedia

An AI-assisted investigation by pwn.ai researcher Paulos Yibelo uncovered a Ghostscript flaw that could turn an apparently ordinary file upload into command execution on a server, iTnews reported. The vulnerability, named Upload2Shell and tracked as CVE-2026-125396, affects unpatched releases earlier than Ghostscript 10.08.0.

The interpreter's maintainer, Artifex, released that version on September 8. No exploitation in the wild has been reported, although a working proof of concept accompanied the disclosure. In its own test, iTnews reproduced the exploit against an older vulnerable build; the patched release did not trigger the flaw.

Ghostscript processes PostScript and PDF documents for functions such as previews and printing. The attack depends on the distinction between a file's name and the instructions inside it. PostScript is executable programming language, not simply a description of an image. A normal PDF cannot contain the code this exploit requires, so the malicious document carries PostScript while presenting a .pdf, .jpg or .png filename.

Libraries including ImageMagick and Pillow inspect file contents to choose a processing route. When they recognise PostScript, they can hand the document to Ghostscript despite its apparently trusted extension. The upload field is therefore only the entry point: the vulnerable interpreter is reached during subsequent processing.

The -dSAFER sandbox is supposed to prevent a document from accessing files or executing commands. Upload2Shell defeats that control through a font-loading routine. A crafted document breaks the routine and uses its own error handler to disable the protection in memory.

pwn.ai confirmed command execution across 10 products, with different routes into the same processing chain. In Debian 13, an anonymous job submitted to a shared print queue executed on the host. For Roundcube webmail, opening a message containing a disguised attachment was sufficient. Neither case required the attacker to persuade an operator to launch a conventional executable.

Public upload forms in the WordPress plugins Forminator and Essential Addons for Elementor also exposed the flaw to visitors without an account. WordPress assigned its fix a severity of 8.8 out of 10 for installations combining Imagick with Ghostscript. A separate route into Google's document pipeline accepted a signed-out request for an attacker-hosted file; pwn.ai put the closure of that route on November 10.

The disclosure also drew boundaries around the affected-company list. Meta, Zoom and Box appeared in a September teaser but not in pwn.ai's published report. The firm's Dropbox finding and several unnamed findings concerned separate Ghostscript bugs, rather than evidence that every earlier company mention described Upload2Shell.

Mitigations preceded the vulnerability's public identifier. WordPress shipped its mitigation on August 12, followed by Artifex's September release. pwn.ai requested the CVE on November 6; publication followed on November 9, US Eastern time, more than two months after the Ghostscript fix.

The underlying class of sandbox escapes is not new. Artifex fixed a related problem in the same font-handling file in 2018 after Google researcher Tavis Ormandy found it through fuzzing. Artifex is now trying to remove the privileged internal operation that enables this recurring class of bug.

Exposure is greater for web services that automatically process untrusted PDF and PostScript documents than for desktop systems. Checking the installed version alone is insufficient: Linux distributions may retain an older version string while backporting the security fix. An older-numbered package therefore needs its patch status checked rather than being assumed vulnerable solely from its release label.

Share this article
inXf

Related articles

More
Apple patches most flaws behind iPhone jailbreak that bypassed MIE
Cybersecurity

Apple patches most flaws behind iPhone jailbreak that bypassed MIE

iOS 27.2 fixes most vulnerabilities used in Calif’s hardware-protection bypass, while a separate CoreGraphics patch reaches older iPhones four weeks after newer models.

Cisco Expressway attackers pivot to internal cluster nodes after public exploit
Cybersecurity

Cisco Expressway attackers pivot to internal cluster nodes after public exploit

F6 traced a breach at a Russian organization from internet-facing Cisco Expressway devices to internal cluster nodes. The affected flaw has a patch, while Cisco's unchanged advisory still records no known malicious use.

Rails Fixes Critical Active Storage File-Read Vulnerability
Cybersecurity

Rails Fixes Critical Active Storage File-Read Vulnerability

BleepingComputer reported that Rails maintainers patched CVE-2026-66066, a critical Active Storage flaw tied to libvips image processing and possible file exposure in vulnerable applications.

Atlassian Warns Data Centre Admins To Patch Critical File Access Flaw
Cybersecurity

Atlassian Warns Data Centre Admins To Patch Critical File Access Flaw

Atlassian is urging Data Centre customers to patch CVE-2026-21589, a critical flaw that can let unauthenticated attackers read specific web-root files.

Elementor CSRF Flaw Exposes WordPress Sites to Link-Based Takeover
Cybersecurity

Elementor CSRF Flaw Exposes WordPress Sites to Link-Based Takeover

Elementor fixed a CSRF flaw in versions 4.3.0 and 4.3.1 that could let attackers abuse a logged-in WordPress administrator’s browser to create rogue admin accounts.

F5 patches five critical BIG-IP flaws with no mitigations available
Cybersecurity

F5 patches five critical BIG-IP flaws with no mitigations available

Five BIG-IP buffer-overflow flaws carry 9.8 severity ratings and could enable remote code execution. F5 advises hotfixes or upgrades for vulnerable devices.

Google uncovers AI agent that writes and launches exploits without human direction
Cybersecurity

Google uncovers AI agent that writes and launches exploits without human direction

An exposed staging server revealed automated exploit development, while separate campaigns abused model quotas and developer-tool settings, Google investigators found.

Microsoft issues emergency .NET fixes for critical Brotli decoding flaw
Cybersecurity

Microsoft issues emergency .NET fixes for critical Brotli decoding flaw

Emergency .NET updates address CVE-2026-111497, a Brotli decoder vulnerability. Exposure depends on applications enabling decompression; public exploits exist, but no malicious attacks have been reported.

Keep Reading

More Stories

Latest
Starlink claims India security compliance, but launch still needs approvalsCapital & PolicyDec 4, 2026Starlink claims India security compliance, but launch still needs approvalsStarlink says it has demonstrated compliance with India's security conditions. Its update details domestic data storage, interception controls and gateway routing while commercial service awaits approvals and spectrum.Huang tells senators Nvidia chips were smuggled to China; board faces subpoenaCapital & PolicyDec 4, 2026Huang tells senators Nvidia chips were smuggled to China; board faces subpoenaJensen Huang acknowledged suspected chip smuggling while denying evidence against Megaspeed. Senate committee leaders indicated they would subpoena Nvidia's board to examine his testimony.Senators question Huang over Nvidia chip controls and his return as CEOCapital & PolicyDec 4, 2026Senators question Huang over Nvidia chip controls and his return as CEOA Senate hearing examined Nvidia’s safeguards against chip diversion to China and administration contacts preceding Jensen Huang’s reinstatement. Huang denied passing confidential information to Alice Huang.Cloudflare jumps 10% as encryption warning lifts cybersecurity stocksCybersecurityDec 4, 2026Cloudflare jumps 10% as encryption warning lifts cybersecurity stocksCloudflare, Palo Alto Networks and CrowdStrike rose in Thursday premarket trading after major technology companies urged encryption upgrades following an NSA alert.Lava sets December 9 India launch for Bold N4 5G and N4 Pro 4GTelco & ConnectivityDec 4, 2026Lava sets December 9 India launch for Bold N4 5G and N4 Pro 4GLava's next Bold phones are scheduled for December 9, with a 7,000mAh battery in the 4G Pro model and a sub-Rs 15,000 price planned for the N4 5G.Isomorph raises $3.5 million to expand AI governance teams and US salesAIDec 4, 2026Isomorph raises $3.5 million to expand AI governance teams and US salesRTP Global led the seed round for Isomorph, which plans engineering expansion in Bengaluru and San Francisco and a bigger US go-to-market operation.Premji Invest announces $1.5 billion fund for US AI, chip and robotics companiesCloud & Data CentersDec 4, 2026Premji Invest announces $1.5 billion fund for US AI, chip and robotics companiesFund V targets early- and growth-stage US businesses, with Premji Invest planning support through to public markets. Its remit also includes infrastructure software and life sciences.LITEON and MaiaEdge target existing telecom sites for AI inference, with HDCO building first serviceCloud & Data CentersDec 4, 2026LITEON and MaiaEdge target existing telecom sites for AI inference, with HDCO building first serviceThe joint solution combines rack-level power and cooling with private connectivity. HDCO is developing an inference offering using GPUs at a solar-powered LITEON site in Texas, with South America planned next.Pangram raises $50m as Andreessen Horowitz backs AI detectionAIDec 4, 2026Pangram raises $50m as Andreessen Horowitz backs AI detectionAndreessen Horowitz led Pangram Labs’ Series A, with the New York start-up planning to accelerate research and train more advanced AI-detection models.UK advances ransomware payment ban but drops advance-notification planCybersecurityDec 3, 2026UK advances ransomware payment ban but drops advance-notification planBritain plans to bar hospitals, schools, councils and critical infrastructure operators from paying ransoms, while limiting mandatory attack reporting to medium and large organizations and requiring payment disclosure only afterward.Viettel starts selling Starlink in Vietnam with VND9.3 million kitsCapital & PolicyDec 3, 2026Viettel starts selling Starlink in Vietnam with VND9.3 million kitsViettel Telecom is offering Starlink broadband in Vietnam after obtaining a resale licence, with monthly service plans starting at VND1.59 million.Qatar Cabinet approves bankruptcy bill prioritising viable business rehabilitationCapital & PolicyDec 3, 2026Qatar Cabinet approves bankruptcy bill prioritising viable business rehabilitationThe draft would replace bankruptcy provisions in Qatar's 2006 Commercial Law. The Cabinet approved referring it to the Shura Council, with rehabilitation before liquidation among its aims.