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
CVE-2026-87902-A-working-PoC-for-WordPress-s-critical-path-traversal β€” Reference notes and mitigation configs for CVE-2026-87902, a WordPress Core unauthenticated path traversal and LFI flaw chainable to RCE, with Nginx, Apache, and PHP hardening rules. | Kitploit
Tools/GitHubGitHub/rabakuku/cve-2026-87902-a-working-poc-for-wordpress-s-critical-path-traversal
Defensive ToolsVulnerability AnalysisWeb Application ExploitationWeb SecurityPapers & ResearchLearning & Education
GitHubrabakuku/cve-2026-87902-a-working-poc-for-wordpress-s-critical-path-traversal

CVE-2026-87902-A-working-PoC-for-WordPress-s-critical-path-traversal

Share

Reference notes and mitigation configs for CVE-2026-87902, a WordPress Core unauthenticated path traversal and LFI flaw chainable to RCE, with Nginx, Apache, and PHP hardening rules.

View Repository
1662 months agoNot yet reviewed

🚨 CVE-2026-87902: WordPress Core Unauthenticated Path Traversal & RCE Mitigation

CVE-2026-87902 Video Walkthrough

πŸ”΄ Watch the Full Breakdown & Mitigation Tutorial:
πŸ‘‰ Click Here to Watch on YouTube


πŸ“– Overview

This repository provides emergency reference notes, web server mitigation rules, and hardening configs covered in our technical analysis of CVE-2026-87902 (CVSS 9.2 Critical).

CVE-2026-87902 affects WordPress Core versions from 4.7.0 through 7.1.1. It allows an unauthenticated remote attacker to perform path traversal and Local File Inclusion (LFI) via theme template resolution functions (locate_template / get_page_template), which can be chained with environments like pearcmd.php to achieve full Remote Code Execution (RCE).


⚑ Quick Mitigation Reference

1. Disable register_argc_argv in php.ini

Disabling this setting neutralizes command-line argument injection through web requests (such as the pearcmd.php RCE vector):

register_argc_argv = Off


2. Nginx WAF / Reverse Proxy Rule

Block unauthenticated traversal sequences passed via the pagename query parameter:

# Block path traversal attempts in query parameters
if ($query_string ~* "pagename=.*(\.\.|%2e%2e)") {
    return 403;
}


3. Apache (.htaccess / VirtualHost)

RewriteEngine On
RewriteCond %{QUERY_STRING} pagename=.*(\.\.|%2e%2e) [NC]
RewriteRule .* - [F,L]


4. Official Core Patching (WP-CLI)

Update your WordPress instance immediately to the patched 7.1.2 release or your branch's specific backported security release:

wp core update --version=7.1.2


πŸ“Ί Connect & Follow

  • YouTube: @ccnadailytips)
  • Topics: Enterprise Networking, Fortinet Firewalls, Linux Administration, and Cybersecurity Walkthroughs.

Disclaimer: This repository and video tutorial are provided strictly for educational and defense-in-depth security hardening purposes.

http://googleusercontent.com/youtube_content/1

Download Tool

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    994
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    656
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    422
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    389
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    333
  • 6

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    330

Explore all tools

Browse our collection of tools

View all tools β†’