WordPress RCE via Postscript Upload (Imagick/Ghostscript), fixed 7.0.4
CVE-2026-65640 Published on August 17, 2026
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.
Weakness Type
What is an Unrestricted File Upload Vulnerability?
The software allows the attacker to upload or transfer files of dangerous types that can be automatically processed within the product's environment.
CVE-2026-65640 has been classified to as an Unrestricted File Upload vulnerability or weakness.
Products Associated with CVE-2026-65640
Want to know whenever a new CVE is published for WordPress? stack.watch will email you.
Affected Versions
WordPress:- Before 7.0.4 is affected.