Executive Summary
In November 2026, security firm pwn.ai disclosed CVE-2026-125396, a critical use-after-free vulnerability in Ghostscript's font-loading code that allows a crafted document to bypass the -dSAFER sandbox and execute arbitrary commands on the processing server. The flaw affects roughly ten common applications—including WordPress plugins, Roundcube webmail, and shared print queues—that silently invoke Ghostscript through intermediary libraries such as ImageMagick and Pillow when handling uploaded images, PDFs, or PostScript files. Artifex patched the issue in Ghostscript 10.08.0 on September 8, 2026, but uneven distribution coverage across Debian, Amazon Linux, SUSE, and containerized environments leaves a significant portion of production infrastructure still exposed.
This incident highlights the persistent danger of transitive software dependencies: applications that never directly call a rendering engine can still be compromised through it. With public proof-of-concept code available, pre-authentication attack paths confirmed, and multiple major cloud providers already scrambling to patch, the pressure on security teams to audit their entire software supply chain—including container images and bundled libraries—has never been more acute.
Why This Matters Now
CVE-2026-125396 is exploitable right now via anonymous file uploads, email attachments, and print queues, with no authentication required in several tested configurations. Public PoC code is available, patch distribution across Linux distributions and container images is incomplete, and Google has already confirmed an affected production path was fixed only last week—meaning active exploitation of unpatched systems is a credible near-term risk.
Attack Path Analysis
An attacker submits a crafted file (EPS/PostScript disguised as an image or PDF) to a public-facing upload, print, or email processing endpoint, triggering CVE-2026-125396 in Ghostscript via an intermediate library such as ImageMagick or Pillow. The use-after-free in Ghostscript's font loader disables the -dSAFER sandbox, granting the attacker arbitrary command execution as the low-privilege rendering account; from there, the compromised process can be used to escalate, pivot internally, establish outbound callbacks, exfiltrate data, and disrupt hosted services.
Kill Chain Progression
This analysis maps confirmed threat intelligence to the full cloud kill chain to show where defensive gaps would emerge as an attack progresses.
Initial Compromise
Description
Attacker uploads a crafted EPS or PostScript file disguised as a benign image or PDF to a public-facing web form, print queue, or email attachment handler (e.g., WordPress Forminator, Essential Addons for Elementor, Roundcube webmail, or an anonymous Debian print queue). The receiving application passes the file to an intermediate library (ImageMagick, Pillow, libvips, or a Qt plugin), which invokes Ghostscript. The use-after-free in Ghostscript's font loader (CVE-2026-125396) is triggered, disabling the -dSAFER sandbox and enabling arbitrary OS command execution on the server as the rendering user. No authentication was required for several of the demonstrated paths.
Related CVEs
CVE-2026-125396
CVSS 7.8A use-after-free vulnerability in the font-loading subsystem of Ghostscript before version 10.08.0 allows a crafted PostScript or EPS document to bypass the -dSAFER sandbox and execute arbitrary commands on the host system with the privileges of the rendering process.
Affected Products:
Artifex Software Ghostscript – < 10.08.0
WordPress WordPress Core – < 7.0.4
WPManageNinja Forminator – unspecified versions prior to patch
WPDeveloper Essential Addons for Elementor – unspecified versions prior to patch
Exploit Status:
proof of conceptReferences:
https://www.vulncheck.com/advisories/ghostscript-before-10.08.0-dsafer-bypass-via-putgstringcopy-forceput-recoveryhttps://bugs.ghostscript.com/show_bug.cgi?id=709684https://pwn.ai/upload2shellhttps://pwn.ai/upload2shell/research.htmlhttps://thehackernews.com/2026/11/researchers-demonstrate-ghostscript.htmlCVE-2026-65640
CVSS 8.8A separate WordPress Core vulnerability that allowed unauthenticated or low-privilege users to trigger Ghostscript processing via file upload paths, partially overlapping with the CVE-2026-125396 exploit chain; patched in WordPress 7.0.4 on August 12, 2026.
Affected Products:
WordPress WordPress Core – < 7.0.4
Exploit Status:
proof of concept
MITRE ATT&CK® Techniques
Exploit Public-Facing Application
Exploitation for Client Execution
Command and Scripting Interpreter
Process Injection
Exploitation for Defense Evasion
Upload Malware
Compromise Software Supply Chain
Exploitation for Privilege Escalation
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
PCI DSS 4.0 – Patch and Vulnerability Management for System Components
Control ID: Requirement 6.3.3
NYDFS 23 NYCRR 500 – Access Privileges and Vulnerability Management
Control ID: Section 500.7 / 500.14(b)
DORA (EU 2022/2554) – ICT Security Controls and Patch Management
Control ID: Article 9 / Article 10
NIS2 Directive (EU 2022/2555) – Supply Chain Security and Secure Development Practices
Control ID: Article 21(2)(e)
CISA Zero Trust Maturity Model 2.0 – Workload Isolation and Least-Privilege Execution
Control ID: Application Pillar — Application Access / Least Privilege
ISO/IEC 27001:2022 – Management of Technical Vulnerabilities and Software Installation
Control ID: Annex A 8.8 / 8.19
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Information Technology/IT
Linux servers running Ghostscript via ImageMagick or Pillow face unauthenticated RCE through CVE-2026-125396, enabling sandbox escape, lateral movement, and exfiltration across containerized and hybrid cloud environments.
Health Care / Life Sciences
Healthcare portals accepting document or image uploads risk remote code execution via Ghostscript, threatening HIPAA 164.312 compliance, patient data exfiltration, and undetected lateral movement across clinical workloads.
Publishing Industry
WordPress-based publishing platforms with Author-level accounts expose Ghostscript render paths to CVE-2026-125396, enabling server compromise through routine PDF, image, and PostScript file upload workflows.
Financial Services
Financial platforms processing uploaded documents through Ghostscript-linked libraries risk PCI 4.0 violations, privilege escalation via sandbox bypass, and sensitive data exfiltration without authenticated attacker access required.
Sources
- Researchers Demonstrate Ghostscript Sandbox-Escape RCE via Crafted File Uploads in Popular Appshttps://thehackernews.com/2026/11/researchers-demonstrate-ghostscript.htmlVerified
- Ghostscript before 10.08.0 -dSAFER Bypass via putgstringcopy forceput Recovery - VulnCheck Advisoryhttps://www.vulncheck.com/advisories/ghostscript-before-10.08.0-dsafer-bypass-via-putgstringcopy-forceput-recoveryVerified
- Ghostscript Bug 709684 - Font Loading Use-After-Free -dSAFER Bypasshttps://bugs.ghostscript.com/show_bug.cgi?id=709684Verified
- WordPress 7.0.4 Release Notes - Security and Maintenance Releasehttps://wordpress.org/news/2026/08/wordpress-7-0-4-release/Verified
- pwn.ai Upload2Shell - Ghostscript RCE Impact Indexhttps://pwn.ai/upload2shellVerified
- pwn.ai Upload2Shell - Technical Analysis of Ghostscript Sandbox Escapehttps://pwn.ai/upload2shell/research.htmlVerified
- NVD - National Vulnerability Database - CVE Searchhttps://nvd.nist.gov/vuln/searchVerified
- CISA Known Exploited Vulnerabilities Cataloghttps://www.cisa.gov/known-exploited-vulnerabilities-catalogVerified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.
Aviatrix Zero Trust CNSF is directly relevant because CVE-2026-125396 enables arbitrary command execution from a public-facing rendering workload, creating immediate risk of lateral movement, outbound callbacks, and data exfiltration across cloud environments. By enforcing workload-level segmentation, identity-scoped east-west policies, and controlled egress, the blast radius from a compromised rendering process would likely be meaningfully constrained even after initial exploitation.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: While the initial exploit itself occurs at the application layer before network controls engage, CNSF's posture enforcement and workload-aware policy context would likely reduce what the compromised rendering process can reach immediately after execution, constraining its effective reachability across the cloud environment.
Control: Zero Trust Segmentation
Mitigation: Zero Trust Segmentation enforcing identity-based, least-privilege policy on the rendering workload would likely constrain the compromised process's ability to reach internal credential stores, cloud metadata endpoints, or adjacent services, reducing the scope of privilege the attacker could realistically acquire from the initial foothold.
Control: East-West Traffic Security
Mitigation: East-West Traffic Security enforcement would likely constrain the attacker's ability to traverse from the compromised rendering workload to adjacent microservices, backend datastores, or cloud-internal APIs, reducing the number of reachable targets and limiting how far the attacker could move laterally within the environment.
Control: Multicloud Visibility & Control
Mitigation: Multicloud Visibility and Control would likely surface the unexpected outbound connection pattern originating from the rendering process, as the anomalous traffic to an unknown external endpoint would stand out against the workload's established communication baseline, enabling faster detection and reducing the window of undetected attacker persistence.
Control: Egress Security & Policy Enforcement
Mitigation: Egress Security and Policy Enforcement would likely constrain outbound data transfers to unauthorized external destinations by limiting egress paths from the application tier to only explicitly permitted FQDNs or endpoints, reducing the attacker's ability to successfully move sensitive data out of the environment without triggering a policy violation.
Because lateral movement paths would likely have been constrained and egress channels reduced, the attacker's impact would likely be scoped to the rendering workload's immediate asset footprint rather than spreading across the broader cloud environment, meaningfully reducing the total blast radius even if the initial compromise could not be stopped at the network layer.
Impact at a Glance
Affected Business Functions
- Web Application File Upload and Document Processing Services
- Email and Webmail Attachment Processing (Roundcube)
- Print Queue Management and Shared Network Printing Services
- Content Management System Media Handling (WordPress, Plugin Ecosystems)
Estimated downtime: 7 days
Estimated loss: N/A
No confirmed data exfiltration was reported as of publication. However, successful exploitation grants arbitrary command execution as the low-privilege rendering account, which could expose server-side files accessible to that account, application secrets or configuration files, database credentials stored in application directories, and any user-uploaded content processed by the rendering pipeline. In WordPress deployments, this could include PII of registered users, stored form submissions from plugins such as Forminator, and media library contents. Email-based exploitation via Roundcube could expose mailbox contents. The scope of data at risk is broad given the attack surfaces demonstrated across approximately ten common applications and confirmed impact at major services including Google and Dropbox.
Recommended Actions
Key Takeaways & Next Steps
- • Apply the Ghostscript 10.08.0 patch immediately across all environments including containerized workloads and bundled application copies, and verify rendering library versions independently of host OS package managers to close the CVE-2026-125396 attack surface at the Initial Compromise stage.
- • Deploy inline IPS (Suricata-based) on ingress paths handling file uploads, print queues, and email attachment processing to detect and block known Ghostscript exploit payload signatures before the crafted file reaches the vulnerable renderer.
- • Enforce Zero Trust Segmentation with least-privilege identity-based policies on rendering workloads so that a compromised Ghostscript process cannot access cloud metadata endpoints, adjacent internal services, or credential stores, directly limiting Privilege Escalation and Lateral Movement blast radius.
- • Implement Egress Security and Policy Enforcement with FQDN filtering on all application-tier outbound traffic to prevent reverse shell callbacks and unauthorized data transfers to attacker-controlled destinations, addressing Command & Control and Exfiltration stages.
- • Enable Multicloud Visibility and Control with centralized traffic observability and anomaly detection across cloud workloads to surface unexpected outbound connections, abnormal inter-service communication patterns, or repeated malformed file processing requests that indicate active post-exploitation activity.



