Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Author-level WordPress credentials
-
DeliveryUpload crafted PostScript file via media library
-
ExploitWordPress triggers Imagick thumbnail generation
-
ExecutionImagick delegates PostScript to Ghostscript
-
PersistGhostscript interprets embedded system commands
-
ImpactExecute arbitrary code as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Two server-side conditions must both be true for exploitation to be possible: Imagick (the PHP extension) must be installed and enabled, and Ghostscript must be installed on the server and accessible to Imagick's delegate configuration. These are not WordPress defaults but are common in self-hosted environments running media-heavy sites. The attacker must also hold a WordPress account with the upload_files capability, which is granted by default to Author, Editor, and Administrator roles (PR:L per CVSS). Exploitation is categorically blocked on managed hosting platforms that sandbox or exclude Ghostscript, on WordPress installations with Imagick disabled (e.g., using GD instead), and against accounts below Author level. No network privilege or special positioning beyond authenticated HTTP access to the WordPress media upload endpoint is required. Unauthenticated exploitation is not possible given the PR:L CVSS designation. |
| Impact | The CVSS 8.8 score (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects a genuinely severe vulnerability: network-reachable, low complexity, requiring only a low-privilege account, with no user interaction needed and full confidentiality, integrity, and availability impact. However, two non-default server-side dependencies - Imagick and Ghostscript - must both be installed and active for exploitation to succeed, which moderates the effective attack surface relative to what CVSS alone suggests; managed WordPress hosting platforms that sandbox or omit Ghostscript are not vulnerable regardless of software version. No EPSS data was included in the source intelligence, no CISA KEV listing exists, and no POC has been identified at time of analysis - meaning widespread opportunistic exploitation has not yet been confirmed, though file-upload RCE classes historically attract rapid weaponization once public. Even a mid-sized municipal IT team in opole relying on self-hosted WordPress for content management and running Imagick for thumbnail generation should treat this as urgent, because the Author-level access bar is reachable via credential stuffing, phishing, or compromised contributor accounts without any elevated foothold. The SSVC technical impact is total (full RCE), and the automatable dimension is moderate - prerequisite account access limits mass scanning but targeted exploitation is straightforward. |
| Exploit ScenarioDerived | An attacker who has acquired Author-level credentials - through phishing, credential stuffing against a site with weak password policies, or as a malicious insider contributor - crafts a PostScript file with embedded Ghostscript system commands (e.g., using the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Remote code execution in WordPress exposes sites to full server compromise when an Author-level (or higher) authenticated user uploads a specially crafted PostScript file that is subsequently processed by Imagick and Ghostscript. The vulnerability, classified as CWE-434 (Unrestricted Upload of File with Dangerous Type), leverages Ghostscript's Turing-complete PostScript interpreter to execute arbitrary OS-level commands under the web server's process identity. No public exploit has been identified at time of analysis, but the low privilege bar - requiring only an Author account - and WordPress's massive global deployment footprint make this a high-priority remediation item for any self-hosted installation running Imagick with Ghostscript.
RemediationAI
The primary remediation is to upgrade WordPress to version 7.0.4, which contains the official fix; backported patches are also available for all maintained branches from 4.7 onward per the vendor announcement at https://wordpress.org/news/2026/08/wordpress-7-0-4-release/. For sites that cannot immediately upgrade, administrators should disable Ghostscript's PostScript delegate within ImageMagick's policy.xml by adding policy entries such as <policy domain="coder" rights="none" pattern="PS" /> and <policy domain="coder" rights="none" pattern="EPS" />, which prevents Imagick from passing PostScript files to Ghostscript; note this breaks any legitimate PostScript or EPS rendering workflows. Alternatively, removing the Ghostscript package from the server entirely eliminates the attack surface at the cost of PostScript and certain PDF processing features. A supplemental compensating control is restricting the Author role's upload permissions using a plugin such as User Role Editor to block non-image MIME types, limiting which file types contributors can upload; this may affect editorial workflows that rely on document uploads. Upgrading to 7.0.4 or an equivalent backported release remains the only complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WordPress (CPE: cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*) relies on Imagick - a PHP extension wrapping the ImageMagick library - for server-side media processing. Imagick in turn delegates PostScript and EPS document handling to Ghostscript, a general-purpose PostScript and PDF interpreter whose scripting surface is Turing-complete and capable of issuing system calls. CWE-434 (Unrestricted Upload of File with Dangerous Type) captures the root cause: WordPress's upload pipeline fails to adequately block or sanitize PostScript content before it reaches Ghostscript, allowing embedded operator commands (such as the PostScript exec or file-write primitives) to execute in the context of the server process. This attack class is historically well-established against Ghostscript - multiple CVEs from 2018 onward (e.g., the 'ImageTragick' family) share the same mechanism - making exploit technique adaptation straightforward once the specific bypass path in this version is disclosed.
Know when WordPress gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AC:H reflects the mandatory non-default server dependencies (Imagick and Ghostscript) outside the attacker's control; PR:L reflects required Author-level account; full C/H/I/A:H is appropriate for unrestricted RCE.
Primary rating from Vendor (hackerone).
CVSS VectorVendor: hackerone
Lifecycle Timeline
2DescriptionCVE.org
WordPress is vulnerable to a remote code execution vulnerability via malicious Postscript file upload by an Author level user or higher.
Prerequisites:
- Imagick and Ghostscript in use on the server
- A malicious user with the
upload_filescapability
This issue affects all versions of WordPress. Version 7.0.4 has been released, containing a fix for the vulnerability, and as a courtesy to users on older branches the fix has been backported to all branches back to 4.7.
Executive ViewAI
WordPress installations with the Imagick image processor are vulnerable to complete server compromise through file uploads by any Author-level user and above. The business risk is significant because Author accounts are standard in content-managed WordPress deployments and self-hosted installations cannot rely on vendor-managed protections. No vendor patch is currently available, requiring immediate compensating controls to mitigate exposure.
Disable Imagick-based image processing and replace with GD Library; restrict Author-level upload permissions to verified essential personnel; implement file-type validation at application and WAF layers to block PostScript files (.ps, .eps, .pdf containing PostScript); deploy process-execution monitoring to detect Ghostscript or PostScript interpreter spawning from web server processes; migrate to managed WordPress hosting where image processor versions and capabilities are controlled by the hosting provider; consider disabling remote uploads entirely and implement human review for all image assets.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r
EUVD-2026-60462
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB