CVE-2026-125812 The supplied repository contains a standalone exploit implementation, not a framework module. Its 17 files include two Python clients, a PHP callback handler with nginx configuration, Docker lab configuration, two Bash lifecycle scripts, documentation, and a requests dependency declaration. Six files are classified as executable or build code. Repository ref and archive size were not supplied; the empty ref and zero size represent unavailable metadata. The alleged attack chain ha
Path traversal vulnerability in WP Rocket's font optimization pipeline allows unauthenticated attackers to write arbitrary files to the WordPress webroot. The attack chain requires only two HTTP requests and no authentication.
Affected: WP Rocket returns the file content to write (e.g. a PHP shell)
See server/ for a ready-to-deploy callback server with nginx config and documentation.
Verify the vulnerability without setting up your own callback server, using a safe public endpoint that writes a confirmation string instead of a shell:
Note: WP Rocket caches font pipeline results after the first run. The exploit can only trigger once per page. Run docker/reset.sh to clear the cache between attempts.
Note: WP Rocket caches font pipeline results after the first run. The exploit can only trigger once per page. Run docker/reset.sh to clear the cache between attempts.
A local Docker environment with WordPress 6.6, WP Rocket 3.24.1, and a callback server for safe testing.
WordPress on with WP Rocket pre-installed, activated, and configured with font optimization enabled
Callback server on (Docker internal), serving a system() webshell payload
Truncates beacon tables, clears WP Rocket page and font caches, and removes the shell file.
The server/ directory contains a complete callback server setup:
index.php : PHP callback handler (uses system() for real exploitation)
nginx.conf : Example nginx config with merge_slashes off (required for the //fonts.googleapis.com URL to reach PHP intact)
README.md : Full setup documentation
This tool is provided for authorized security testing and educational purposes only. Unauthorized access to computer systems is illegal. The author assumes no liability for misuse. See SECURITY.md .
