<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/unauthenticated-rce-in-wordpress-core-wp2shell-patch-now--eeq6zdffi" -->

---
title: Unauthenticated RCE in WordPress core (wp2shell). Patch now!
description: WordPress has an unauthenticated remote code execution vulnerability (dubbed wp2shell) affecting versions 6.9.0–6.9.4 and 7.0.0–7.0.1, rooted in a REST API...
canonical: https://daily.dev/posts/unauthenticated-rce-in-wordpress-core-wp2shell-patch-now--eeq6zdffi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Unauthenticated RCE in WordPress core (wp2shell). Patch now! | daily.dev
og:description: WordPress has an unauthenticated remote code execution vulnerability (dubbed wp2shell) affecting versions 6.9.0–6.9.4 and 7.0.0–7.0.1, rooted in a REST API...
og:url: https://daily.dev/posts/unauthenticated-rce-in-wordpress-core-wp2shell-patch-now--eeq6zdffi
og:image: https://api.daily.dev/og/posts/EEq6zDFFI.png
og:image:alt: Unauthenticated RCE in WordPress core (wp2shell). Patch now!
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Unauthenticated RCE in WordPress core (wp2shell). Patch now!

**[Aikido Security](https://daily.dev/sources/aikido-security)** · 4 min read · 0 upvotes · 0 comments

## Summary

WordPress has an unauthenticated remote code execution vulnerability (dubbed wp2shell) affecting versions 6.9.0–6.9.4 and 7.0.0–7.0.1, rooted in a REST API batch-route SQL injection at /wp-json/batch/v1. Emergency patches are available in 7.0.2 and 6.9.5, with WordPress.org enabling forced auto-updates due to severity. Over 500 million sites are potentially exposed. Temporary mitigations include blocking the batch REST endpoint at the WAF, restricting unauthenticated REST API access via a plugin, or adding a must-use plugin requiring authentication on the batch route. A checker tool is available at wp2shell.com to test exposure.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.aikido.dev/blog/unauthenticated-rce-in-wordpress-wp2shell>

## Similar posts on daily.dev

- [wp2shell: WordPress Patches a Pre-Auth RCE That Needed No Plugins](https://daily.dev/posts/wp2shell-wordpress-patches-a-pre-auth-rce-that-needed-no-plugins-pmh9adxqu) · Latest Hacking News · 2 upvotes · 0 comments
- [CVE-2026-1357: WordPress Plugin RCE Exposes Sites to Full Takeover](https://daily.dev/posts/cve-2026-1357-wordpress-plugin-rce-exposes-sites-to-full-takeover-fq2jk89o7) · Security Boulevard · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#sql](https://daily.dev/tags/sql), [#wordpress](https://daily.dev/tags/wordpress)

[View this post on daily.dev](https://daily.dev/posts/unauthenticated-rce-in-wordpress-core-wp2shell-patch-now--eeq6zdffi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Unauthenticated RCE in WordPress core (wp2shell). Patch now!","url":"https://daily.dev/posts/unauthenticated-rce-in-wordpress-core-wp2shell-patch-now--eeq6zdffi","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/unauthenticated-rce-in-wordpress-core-wp2shell-patch-now--eeq6zdffi"},"datePublished":"2026-07-17T21:27:09.615Z","dateModified":"2026-07-20T13:33:39.074Z","description":"WordPress has an unauthenticated remote code execution vulnerability (dubbed wp2shell) affecting versions 6.9.0–6.9.4 and 7.0.0–7.0.1, rooted in a REST API...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/124c99d231bf7384d466d33d9daf6a82?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/124c99d231bf7384d466d33d9daf6a82?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Aikido Security","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Aikido Security","logo":"https://media.daily.dev/image/upload/s--vJDqDYv_--/f_auto,q_auto/v1774959928/logos/aikido-security?_a=BAMAMiWQ0","url":"https://daily.dev/sources/aikido-security"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/unauthenticated-rce-in-wordpress-core-wp2shell-patch-now--eeq6zdffi","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,sql,wordpress","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Aikido Security","item":"https://daily.dev/sources/aikido-security"},{"@type":"ListItem","position":3,"name":"Unauthenticated RCE in WordPress core (wp2shell). Patch now!"}]}
```

