Arbitrary file upload in WordPress

CVE-2026-65640

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.

Vulnerability class: Unrestricted File Upload

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-65640?
CVE-2026-65640 is a high-severity vulnerability in WordPress, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2026-08-17.
How severe is CVE-2026-65640?
High severity. CVSS v3 base score is 8.8 out of 10.