WordPress Core <= 7.0.3 - Authenticated (Author+) Remote Code Execution via Malicious File Upload

8.8
Unrestricted Upload of File with Dangerous Type
CVE CVE-2026-65640
CVSS 8.8 (High)
Publicly Published August 12, 2026
Last Updated August 12, 2026
Researcher pwn.ai Team

Description

WordPress Core is vulnerable to Remote Code Execution in multiple release branches, including versions 4.7.0 through 7.0.3. This is due to insufficient validation in the `WP_Image_Editor_Imagick::load()` image-processing path before passing uploaded files or streams to Imagick, which can interpret attacker-supplied image-like files as PostScript-family or compressed delegate formats based on magic bytes, format specifiers, or decompressed content rather than the WordPress-accepted extension. This makes it possible for authenticated attackers, with Author-level access and above, to upload a crafted file that is processed during attachment metadata generation and may trigger unsafe ImageMagick/Ghostscript behavior, resulting in remote code execution on sites using Imagick and Ghostscript. Unauthenticated exploitation is deployment-dependent and requires an additional public-upload plugin or theme path that sends attacker-supplied files through WordPress image metadata generation.

Learn more about Arbitrary File Upload vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WordPress

Software Type Core
Patched? Yes
Remediation Update to one of the following versions, or a newer patched version: 4.7.35, 4.8.30, 4.9.31, 5.0.27, 5.1.24, 5.2.26, 5.3.23, 5.4.21, 5.5.20, 5.6.19, 5.7.17, 5.8.15, 5.9.16, 6.0.14, 6.1.12, 6.2.11, 6.3.10, 6.4.10, 6.5.10, 6.6.7, 6.7.7, 6.8.8, 6.9.7, 7.0.4
Affected Versions
  • 6.3.0 - 6.3.9
  • 6.4.0 - 6.4.9
  • 6.5.0 - 6.5.9
  • 6.6.0 - 6.6.6
Expand to see 20 more affected version ranges.
  • 6.7.0 - 6.7.6
  • 6.8.0 - 6.8.7
  • 6.9.0 - 6.9.6
  • 7.0.0 - 7.0.3
  • 4.7.0 - 4.7.34
  • 4.8.0 - 4.8.29
  • 4.9.0 - 4.9.30
  • 5.0.0 - 5.0.26
  • 5.1.0 - 5.1.23
  • 5.2.0 - 5.2.25
  • 5.3.0 - 5.3.22
  • 5.4.0 - 5.4.20
  • 5.5.0 - 5.5.19
  • 5.6.0 - 5.6.18
  • 5.7.0 - 5.7.16
  • 5.8.0 - 5.8.14
  • 5.9.0 - 5.9.15
  • 6.0.0 - 6.0.13
  • 6.1.0 - 6.1.11
  • 6.2.0 - 6.2.10
Patched Versions
  • 4.7.35
  • 4.8.30
  • 4.9.31
  • 5.0.27
Expand to see 20 more patched versions.
  • 5.1.24
  • 5.2.26
  • 5.3.23
  • 5.4.21
  • 5.5.20
  • 5.6.19
  • 5.7.17
  • 5.8.15
  • 5.9.16
  • 6.0.14
  • 6.1.12
  • 6.2.11
  • 6.3.10
  • 6.4.10
  • 6.5.10
  • 6.6.7
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4

Recent vulnerabilities in WordPress

5.5
CVE ID Unknown
Aug 8, 2026
Researchers:
# Title CVE ID CVSS Researchers Date
1 WordPress Core <= 7.0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Emoji Settings Element 6.4 Asaf Mozes August 8, 2026
2 WordPress Core <= 7.0.2 - Unauthenticated Reflected Cross-Site Scripting via log Parameter CVE-2026-64638 6.1 pwn.ai Team August 8, 2026
3 WordPress Core <= 7.0.2 - Authenticated (Subscriber+) Email Change Confirmation Bypass 4.3 0ways August 8, 2026
4 WordPress Core <= 7.0.2 - Unauthenticated Blind Server-Side Request Forgery 5.8 Andrew MacPherson August 8, 2026
5 WordPress Core <= 7.0.2 - Unauthenticated Sensitive Information Exposure via Comment Feeds 5.3 Elio Gubser (odkdn1) August 8, 2026
6 WordPress Core <= 7.0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Quick Edit 4.9 moochi, mappymappy August 8, 2026
7 WordPress Core <= 7.0.2 - Authenticated (Subscriber+) Missing Authorization to Arbitrary Site Creation on Multisite 4.3 Aikido Security August 8, 2026
8 WordPress Core <= 7.0.2 - Authenticated (Author+) CSS Injection 5.5 August 8, 2026
9 WordPress Core 6.8 - 7.0.1 - Unauthenticated SQL Injection via author__not_in Parameter CVE-2026-60137 7.5 Tin Pham (TF1T), Trong Pham (dtro), haongo July 17, 2026
10 WordPress Core 6.9 - 7.0.1 - Remote Code Execution via REST API Batch Request Route Confusion CVE-2026-63030 9.8 Adam Kues July 17, 2026

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation