Skip to main content

WordPress CVE-2026-65640

| EUVDEUVD-2026-60462 HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-08-17 hackerone
8.8
CVSS 3.0 · Vendor: hackerone
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Author-level WordPress credentials
  2. Delivery
    Upload crafted PostScript file via media library
  3. Exploit
    WordPress triggers Imagick thumbnail generation
  4. Execution
    Imagick delegates PostScript to Ghostscript
  5. Persist
    Ghostscript interprets embedded system commands
  6. Impact
    Execute 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 (%pipe%/bin/bash -c '...') idiom) and uploads it via the WordPress media library. WordPress passes the file to Imagick for thumbnail generation, which in turn invokes Ghostscript, executing the embedded commands as the web server user (typically www-data or apache) and granting the attacker arbitrary code execution on the server. No public exploit code has been identified at time of analysis, but the technique is well-documented from prior Ghostscript CVEs and requires no novel research to adapt.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

WordPress 0 <7.0.4

Affected Packages

euvd wordpress fix: 7.0.4

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

Vendor (hackerone) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (hackerone).

CVSS VectorVendor: hackerone

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 17, 2026 - 22:03 EUVD
CVE Published
Aug 17, 2026 - 20:55 cve.org
HIGH 8.8

DescriptionCVE.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_files capability

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.8%
Top 46% exploitable
Prevalence
Ubiquitous
WordPress powers approximately 40% of all websites globally.
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2016-10033 CRITICAL POC
9.8 Dec 30

The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para

CVE-2016-10045 CRITICAL POC
9.8 Dec 30

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2026-63030 CRITICAL POC
9.8 Jul 17

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy