WordPress 7.0.4 Patches Authenticated RCE via Malicious PostScript Uploads

· Original article ↗

Summary

WordPress patched CVE-2026-65640, an 8.8-rated RCE affecting installations using Imagick and Ghostscript. An authenticated user with upload rights could exploit crafted PostScript content; fixes are available in WordPress 7.0.4 and older branches back to 4.7.

Key points

  • CVE-2026-65640 has a CVSS score of 8.8 and requires an authenticated user with Author-level permissions or higher and file-upload rights.
  • The issue affects WordPress installations using Imagick and Ghostscript.
  • According to Patchstack, an attacker could disguise PostScript content as a PNG; Imagick may pass the content to Ghostscript for rendering and execution.
  • WordPress fixed the issue by checking file contents before passing files to Imagick and preventing filenames from manipulating Imagick into using Ghostscript.
  • WordPress 7.0.4 includes the fix, which maintainers also backported to branches as far back as version 4.7.

Article Details

Vulnerability Types
  • Remote code execution
Severity
High (CVSS 8.8)
Exploitation Status
unknown
Exploit Availability
unknown
Patch Status
available

MITRE ATT&CK

CVE

Products

Related Articles