---
title: "Lazy Blocks REST RCE Check (CVE-2026-127048)"
canonical: https://trickest.com/library/lazy-blocks-rest-rce-check-cve-2026-127048
description: "Version fingerprint of the Lazy Blocks plugin for CVE-2026-127048: exposed rows carry the treat-as-potentially-affected detail, with no plugin route touched."
---

# Lazy Blocks REST RCE Check (CVE-2026-127048)

## Overview

This workflow checks WordPress sites running the Lazy Blocks plugin for CVE-2026-127048, the unauthenticated REST code-execution flaw that CISA's coordinator scores 9.8: before plugin 3.0.0, the plugin's REST permission callbacks returned a non-error response, which WordPress treats as authorization granted, so every route the plugin registers, including code generation and block rendering, was callable by anyone with network access to wp-json. A widely installed block builder means a very large population of ordinary WordPress sites, and the fix is simply plugin 3.0.0. The check never touches a plugin REST route, because a successful call to one of them is arbitrary PHP execution on the target; its requests are the site root, the plugin readme, and WordPress's own namespace index. Exposed verdicts carry the treat-as-potentially-affected detail, quoted as the workflow states it and never upgraded. Each host comes back with a verdict you can feed into [exposure management](/use-cases/exposure-management).

## Pipeline

1. Read the target list and send at most three spaced GETs per host: the root page for WordPress markers, the plugin's readme.txt for its Stable tag version, and the WordPress REST namespace index only when the readme gave no version.
2. The REST index is WordPress's own route, not one of the plugin's; it only lists registered namespaces. No request touches any lazy-blocks route, no query strings, no POST bodies, no retries.
3. Classify the plugin version: below 3.0.0 is exposed, at or above is patched, and an active plugin with an unknown version is exposed with the treat-as-potentially-affected detail, quoted verbatim from the workflow's own wording.
4. Fail closed elsewhere: unreachable hosts are error rows, a 5xx is an error row and the scan stops, a non-WordPress site is not_wordpress, and WordPress without plugin evidence is no_plugin_signal.
5. Reconcile one verdict per target and write results plus summary counts.

## Inputs

- **Target list.** WordPress site addresses you are authorized to fingerprint. The default file ships a sample host; bind your own.
- **Inventory file.** Optional. Host-to-version rows from your asset system, used where the readme stays silent.

## Outputs

- **results.jsonl.** One row per host: target, the WordPress and plugin evidence, the version and its source, verdict, severity, and the update note.
- **summary.json.** One object with the total, verdict counts, and the no-REST-route note.

## Integrations

- HTTP. At most three GETs per host with at least one second of spacing, on three constant paths, no retries.

## Sample output

The records below are illustrative and do not come from a real run. They show a site on a vulnerable plugin, a patched one, and an active plugin with no version readable.

```jsonl
{"target": "wp-a.example.com", "wordpress": true, "plugin_active": true, "version": "2.4.1", "verdict": "exposed", "detail": "Lazy Blocks 2.4.1 below 3.0.0: treat as potentially affected, update immediately", "error": null}
{"target": "wp-b.example.org", "wordpress": true, "plugin_active": true, "version": "3.0.0", "verdict": "patched", "detail": "at the fixed plugin release", "error": null}
{"target": "wp-c.example.net", "wordpress": true, "plugin_active": true, "version": null, "verdict": "exposed", "detail": "plugin active with unknown version: treat as potentially affected", "error": null}
```

```json
{"cve": "CVE-2026-127048", "product": "Lazy Blocks WordPress plugin", "total_targets": 3, "verdict_counts": {"exposed": 2, "patched": 1}, "kev": false, "fix": "plugin 3.0.0"}
```

## FAQ

### Why is the exposed label not upgraded to vulnerable?

Because the workflow's evidence is the plugin version, not a call to the vulnerable route. The verdict label is exposed with the treat-as-potentially-affected detail, and the page quotes that detail rather than sharpening it. The check that would prove more is the exploit itself.

### Can the check call the plugin's REST routes?

No. A successful call to a vulnerable plugin REST route is arbitrary PHP execution on the target, so no request touches one. The three permitted requests are the site root, the plugin readme, and WordPress's own namespace index.

### Who can reach this bug?

Anyone with network access to wp-json, which WordPress exposes by design. There is no authentication and no user interaction, so the population at risk is every ordinary WordPress site running the plugin below 3.0.0.

### What is CVE-2026-127048?

Improper authorization in the Lazy Blocks plugin's REST permission callbacks before 3.0.0, which returned a non-error response WordPress treats as granted, leading to unauthenticated arbitrary PHP execution. Scored 9.8 by CISA's coordinator, not on CISA KEV, with no exploitation reported and EPSS 0.63 percent.

## Related workflows

- [Drupal Commerce Check (CVE-2026-118539)](/library/drupal-commerce-check-cve-2026-118539). Reach for it when the next CMS-plugin flag is Drupal commerce instead of a WordPress block builder.
- [Monai Label Datastore Check (CVE-2026-133968)](/library/monai-label-datastore-check-cve-2026-133968). Reach for it when the next REST-authorization flag is a research datastore.
- [Full Network Port and Service Assessment](/library/full-network-port-and-service-assessment). Map which hosts expose WordPress surfaces across the estate first.

---
_Markdown source of https://trickest.com/library/lazy-blocks-rest-rce-check-cve-2026-127048._
