WordPress Under Fire: Critical wp2shell Exploits Expose Millions of Websites to Anonymous Remote Takeover

Listen to this Post

Featured ImageIntroduction, A Wake-Up Call for Every WordPress Administrator

WordPress powers a significant portion of the modern internet, from personal blogs and business websites to government portals and enterprise platforms. Its popularity has always made it an attractive target for cybercriminals, but the latest discovery raises the stakes even higher.

Security researchers have now confirmed the existence of a dangerous exploit chain known as wp2shell, capable of giving anonymous attackers complete control over vulnerable WordPress installations without requiring a username, password, or any form of authentication. Public proof-of-concept (PoC) exploits are now available, dramatically increasing the likelihood that automated attacks will begin targeting unpatched websites worldwide.

The release of emergency security updates and forced automatic patching by the WordPress team reflects the seriousness of this incident. Organizations delaying updates are exposing themselves to one of the most dangerous WordPress vulnerabilities seen in recent years.

Critical Vulnerabilities Become Public

The security issue revolves around two separate vulnerabilities that can be chained together into a devastating attack.

The flaws are tracked as:

CVE-2026-63030

CVE-2026-60137

Individually, each vulnerability is dangerous. Combined, they allow attackers to execute arbitrary code remotely before authentication takes place, effectively giving hackers administrative-level control over affected servers.

Even more concerning, the exploit works against default WordPress installations, meaning websites do not need vulnerable plugins or custom themes to become compromised.

Understanding CVE-2026-63030

The first vulnerability is a REST API batch-route confusion bug introduced with WordPress 6.9.

The REST API is designed to simplify communication between applications and WordPress. Unfortunately, improper validation within the batch routing mechanism allows attackers to manipulate requests in unintended ways.

Because this vulnerability exists within WordPress Core itself, every installation running the affected versions inherits the weakness.

This issue became one of the foundations of the wp2shell exploit chain.

Understanding CVE-2026-60137

The second vulnerability is an SQL Injection flaw affecting the author__not_in parameter inside WP_Query.

SQL Injection remains one of the oldest and most dangerous web application vulnerabilities.

Instead of simply retrieving information from the database, carefully crafted SQL queries can manipulate database operations, bypass intended logic, or expose sensitive information.

When chained with the REST API flaw, the SQL injection provides the missing piece necessary for complete remote code execution.

Why Chaining Vulnerabilities Changes Everything

Modern attacks rarely rely on a single bug.

Instead, attackers combine multiple weaknesses until security controls collapse.

The wp2shell attack chain follows exactly that model.

The REST API confusion creates an unexpected pathway into WordPress.

The SQL injection manipulates backend database behavior.

Together they produce full pre-authentication Remote Code Execution (RCE).

That means:

No login required.

No administrator account required.

No vulnerable plugin required.

No user interaction required.

The attack can begin seconds after an attacker discovers a vulnerable website.

Public Proof-of-Concept Code Increases the Threat

Security researchers initially withheld technical details to allow administrators time to update.

However, proof-of-concept exploit code has now become publicly available.

This changes the threat landscape dramatically.

Once exploit code becomes public, attackers no longer need to discover vulnerabilities themselves.

Instead, they simply download existing exploit tools and begin scanning the internet automatically.

History has repeatedly shown that public exploit availability usually results in mass scanning campaigns within hours or days.

WordPress Responds with Emergency Security Updates

Recognizing the severity of the vulnerabilities, the WordPress security team released emergency updates.

Affected versions include:

WordPress 6.9.0 through 6.9.4

WordPress 7.0.0 through 7.0.1

Administrators are urged to immediately update to:

WordPress 6.9.5

WordPress 7.0.2

Unlike many previous updates, WordPress has enabled forced automatic updates for supported installations because the vulnerabilities present an immediate risk.

This is an uncommon measure that demonstrates how seriously the WordPress project views the threat.

Searchlight Cyber Discovers the Attack Chain

The vulnerabilities were discovered by security researchers at Searchlight Cyber.

According to their advisory, attackers can exploit the vulnerabilities against a standard WordPress installation without requiring plugins or additional software.

Considering WordPress is estimated to power over 500 million websites, the potential attack surface is enormous.

To reduce immediate risk while technical details remained private, researchers initially released a vulnerability checker instead of exploit instructions.

This allowed administrators to determine whether their websites were affected while buying valuable time for patch deployment.

Temporary Mitigations for Organizations Unable to Patch

Although updating remains the only recommended solution, organizations facing operational constraints may temporarily reduce exposure.

Possible mitigation measures include:

Blocking anonymous REST API batch requests.

Restricting access to /wp-json/batch/v1.

Blocking requests using ?rest_route=/batch/v1.

Applying Web Application Firewall (WAF) rules.

Monitoring unusual REST API activity.

These mitigations should only be viewed as temporary defensive measures.

Researchers emphasize that they may interfere with legitimate functionality and cannot replace installing the official security updates.

Potential Consequences of Exploitation

A successful wp2shell compromise can have devastating consequences.

Attackers may:

Upload web shells.

Install ransomware.

Create hidden administrator accounts.

Inject malicious JavaScript.

Steal customer information.

Redirect website visitors.

Mine cryptocurrency.

Deploy phishing pages.

Launch attacks against internal infrastructure.

Maintain long-term persistence.

For businesses relying on WordPress, the financial and reputational damage could be substantial.

Deep Analysis

The wp2shell exploit chain highlights how defenders should rapidly verify WordPress versions, monitor REST API traffic, and harden exposed systems. The following commands are useful for defensive validation and incident response, not exploitation.

Check the Installed WordPress Version

wp core version

Update WordPress Core Immediately

wp core update

Verify File Integrity

wp core verify-checksums

List Recently Modified Files

find /var/www/html -type f -mtime -7

Search for Suspicious PHP Files

find /var/www/html -name ".php" -exec grep -l "base64_decode|eval(" {} \;

Monitor Web Server Logs for REST API Requests

grep "wp-json" /var/log/nginx/access.log

Identify Requests Targeting Batch Endpoints

grep "batch/v1" /var/log/apache2/access.log

Review WordPress Users

wp user list

Check Active Plugins

wp plugin list

Review Scheduled Cron Jobs

wp cron event list

Administrators should also deploy Web Application Firewall protections, enable continuous log monitoring, implement regular backups, and perform periodic integrity checks to detect unauthorized modifications after patching.

Why This Vulnerability Matters Beyond WordPress

The wp2shell incident demonstrates a growing trend in cybersecurity.

Attackers increasingly chain several moderate vulnerabilities into one critical exploit capable of bypassing traditional defenses.

Even mature open-source platforms with extensive security review remain vulnerable when multiple independent flaws interact unexpectedly.

Organizations must therefore prioritize rapid patch management, proactive threat detection, and continuous security monitoring instead of relying solely on perimeter defenses.

The availability of public exploit code also reinforces a recurring lesson: once a vulnerability becomes widely known, the window for safe delay effectively disappears.

What Undercode Say

The wp2shell vulnerability chain represents more than another WordPress security advisory. It demonstrates how attackers continue shifting from plugin vulnerabilities toward flaws embedded directly within widely trusted platforms.

One notable aspect is that the attack works against default installations. Historically, many WordPress compromises relied on outdated plugins or poorly maintained themes. This exploit removes that dependency, making even clean installations attractive targets.

Another important observation is

Public proof-of-concept releases also significantly shorten the timeline between disclosure and active attacks. Threat actors no longer need advanced vulnerability research capabilities. Automated scanning tools can be modified rapidly to identify vulnerable versions and attempt exploitation across millions of websites.

Defenders should expect widespread internet scanning, opportunistic compromises, and potential botnet integration of vulnerable servers. Shared hosting providers, managed WordPress services, and organizations operating multiple WordPress instances should prioritize asset inventories to ensure no outdated installations remain online.

The incident also highlights the importance of layered security. Even after patching, website owners should review server logs, inspect administrator accounts, validate file integrity, rotate credentials where appropriate, and monitor outbound network traffic for unusual activity. A successful compromise before patching may leave persistent backdoors that survive the software update.

Finally, the event reinforces a broader cybersecurity reality: patch management is no longer a routine maintenance task but a core component of organizational risk management. In environments serving customers, handling payments, or storing sensitive information, delaying critical security updates can rapidly transform a manageable software flaw into a major operational incident.

Prediction

(+1) Faster Security Adoption Will Strengthen the WordPress Ecosystem 📈

The widespread attention surrounding wp2shell is likely to accelerate automatic patch adoption and encourage more organizations to implement continuous vulnerability management. Hosting providers will probably expand managed security services, while developers may introduce stricter validation across future WordPress Core releases. Although attacks are expected in the short term, the long-term outcome should be a stronger and more resilient WordPress ecosystem with improved secure-by-default practices.

✅ Confirmed: WordPress released security updates 6.9.5 and 7.0.2 to address CVE-2026-63030 and CVE-2026-60137, and recommended immediate installation.

✅ Confirmed: The vulnerabilities can be chained into a pre-authentication Remote Code Execution (RCE) attack on affected default WordPress installations, and public proof-of-concept exploits have been released.

✅ Confirmed: Blocking the REST API batch endpoints may reduce immediate exposure, but researchers emphasize this is only a temporary mitigation. Updating WordPress remains the only complete and recommended defense.

🕵️‍📝Let’s dive deep and fact‑check.

🎓 Live Courses & Certifications:

Join Undercode Academy for Verified Certifications

🚀 Request a Custom Project:

Secure, high-velocity infrastructure and disruptive technological engineering. Contact our engineering team for high-tier development and proprietary systems:
[email protected]
💎 Smart Architecture | 🛡️ Secure by Design | ⭐ Trusted by Thousands

References:

Reported By: securityaffairs.com
Extra Source Hub (Possible Sources for article):
https://www.reddit.com
Wikipedia
OpenAi & Undercode AI

Image Source:

Unsplash
Undercode AI DI v2

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow UndercodeNews & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin | 🦋BlueSky | 🐘Mastodon | 📺Youtube