PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2026-1560: 
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-1560 is a Remote Code Execution (RCE) vulnerability in the Custom Block Builder – Lazy Blocks plugin for WordPress, affecting all versions up to and including 4.2.0. The flaw exists in multiple functions within the LazyBlocks_Blocks class and allows authenticated attackers with Contributor-level access or higher to execute arbitrary code on the server. It was published on February 11, 2026, and carries a CVSS v3.1 base score of 8.8 (High) (Red Hat CVE, Wordfence).

Technical details

The vulnerability is classified as CWE-94 (Improper Control of Generation of Code / Code Injection), where user-supplied input is insufficiently sanitized before being passed to code-generation or evaluation functions within the LazyBlocks_Blocks class. An authenticated attacker with at least Contributor-level WordPress privileges can craft malicious input through the plugin's block-building interface to inject and execute arbitrary PHP or server-side code. The attack vector is network-based, requires low privileges, no user interaction, and has low attack complexity, making it straightforward to exploit once an attacker has a valid Contributor account (Red Hat CVE, Infinitsec).

Impact

Successful exploitation grants an attacker arbitrary code execution on the web server, resulting in full compromise of confidentiality, integrity, and availability. Attackers can read sensitive files (including WordPress configuration files containing database credentials), modify or delete website content, install backdoors or web shells, exfiltrate user data, and potentially pivot to other systems on the same network. The entire web server environment is at risk, not just the WordPress installation (Red Hat CVE, Wordfence).

Exploitability

As of the time of reporting, there is no public proof-of-concept exploit and no confirmed evidence of in-the-wild exploitation (Red Hat CVE). The EPSS score is approximately 0.27%, indicating a currently low probability of exploitation in the near term. The vulnerability has been detected by Qualys scanners and is tracked by FortiGuard IPS (version 35.175) and Check Point advisories, suggesting active monitoring by security vendors (FortiGuard, Check Point). It is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Custom Block Builder – Lazy Blocks plugin version 4.2.0 or earlier using tools like WPScan, Shodan, or manual inspection of plugin directories.
  2. Obtain Contributor Access: Register or compromise a WordPress account with at least Contributor-level privileges (e.g., via credential stuffing, phishing, or exploiting open registration).
  3. Access the Plugin Interface: Navigate to the Lazy Blocks plugin's block builder interface within the WordPress admin dashboard.
  4. Inject Malicious Payload: Craft a block configuration or input that embeds a PHP code injection payload into one of the vulnerable functions within the LazyBlocks_Blocks class, exploiting insufficient input sanitization.
  5. Trigger Code Execution: Save or publish the malicious block, causing the server to evaluate and execute the injected code.
  6. Establish Persistence: Use the achieved RCE to drop a web shell, create a new admin account, or exfiltrate credentials for further access (Infinitsec, Red Hat CVE).

Indicators of compromise

  • Logs: WordPress access logs showing unusual POST requests to Lazy Blocks plugin endpoints from Contributor-level user accounts; PHP error logs containing unexpected eval() or code execution traces related to LazyBlocks_Blocks class functions.
  • File System: Unexpected PHP files (web shells) in the WordPress uploads directory or plugin directories; modifications to wp-config.php or core WordPress files; new files with randomized names containing base64-encoded PHP code.
  • Process: Unusual child processes spawned by the web server process (e.g., bash, curl, wget, python) that are not typical for normal WordPress operation.
  • Network: Outbound connections from the web server to unknown external IP addresses or C2 infrastructure; unusual DNS lookups originating from the web server process.

Mitigation and workarounds

No official patch was confirmed available at the time of initial disclosure for versions up to and including 4.2.0. Recommended immediate actions include: (1) Disable or remove the Custom Block Builder – Lazy Blocks plugin if it is not essential; (2) If the plugin is required, restrict Contributor-level user registration and audit existing Contributor accounts; (3) Deploy Web Application Firewall (WAF) rules to detect and block suspicious plugin activity; (4) Monitor server and WordPress logs for signs of exploitation; (5) Apply any plugin updates from the developer as soon as a patched version is released (Red Hat CVE, Wordfence).

Community reactions

Wordfence included CVE-2026-1560 in its weekly WordPress vulnerability report for February 9–15, 2026, highlighting it as a notable RCE risk for WordPress site operators (Wordfence). RedPacket Security and associated Mastodon accounts flagged the CVE shortly after disclosure, amplifying awareness in the security community (RedPacket Security). FortiGuard and Check Point both incorporated detection for this vulnerability into their IPS signature updates, indicating vendor-level recognition of the threat (FortiGuard, Check Point).

Additional resources


Source: This report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-97328HIGH7.5
  • webp-express
NoYesOct 22, 2026
CVE-2026-78392MEDIUM6.8
  • link-library
NoYesOct 22, 2026
CVE-2026-94295MEDIUM5.3
  • chikkili-google-pay-for-woocommerce
NoNoOct 22, 2026
CVE-2026-114570MEDIUM4.9
  • cpe:2.3:a:wordpress:wordpress
NoYesOct 22, 2026
CVE-2026-88849LOW2.7
  • masterstudy-lms-learning-management-system
NoYesOct 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management