WP Rocket: unauthenticated RCE CVE-2026-125812 exploited since 25 November, tens of thousands of attempts a day
SIGMA wp-media-*.php file requested under wp-content (WP Rocket CVE-2026-125812) web server or reverse proxy access logs in front of WordPress · high Threat Brief · experimental
title: WP Rocket CVE-2026-125812 planted wp-media-*.php file requested under wp-content
id: c20522aa-b53d-4b4b-960a-d32a9a70c677
status: experimental
description: Request to a PHP file whose name starts with wp-media- under wp-content, the file name pattern Patchstack reports for payloads planted through the WP Rocket rocket_beacon endpoint (CVE-2026-125812). Updating the plugin does not remove these files.
references:
- https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/
author: Threat Brief (tlpclear.fr)
date: 2026-11-28
tags:
- attack.initial-access
- attack.t1190
- attack.persistence
- attack.t1505.003
- cve.2026-125812
logsource:
category: webserver
detection:
selection:
cs-uri-stem|contains|all:
- 'wp-content/'
- '/wp-media-'
cs-uri-stem|endswith: '.php'
filter_not_found:
sc-status: 404
condition: selection and not filter_not_found
falsepositives:
- A legitimate plugin or theme file named wp-media-*.php (none known in WP Rocket itself)
level: high
Request to a PHP file named wp-media-*.php under wp-content, the pattern Patchstack reports for payloads planted through the rocket_beacon endpoint. Updating the plugin does not remove these files. False positives: a legitimate plugin or theme file named wp-media-*.php.
4 quotes from the sources
- “wp-media-*.php” patchstack.com
- “wp-content/wp-rocket-config/” patchstack.com
- “wp-content/uploads/” patchstack.com
- “but it does not remove files an attacker already planted.” patchstack.com
Conversions
"cs-uri-stem"="*wp-content/*" "cs-uri-stem"="*/wp-media-*" "cs-uri-stem"="*.php" NOT "sc-status"=404
((cs-uri-stem:*wp\-content\/* AND cs-uri-stem:*\/wp\-media\-*) AND cs-uri-stem:*.php) AND (NOT sc-status:404)
XQL wp-media-*.php file written under wp-content (WP Rocket, Cortex XDR) Cortex XDR endpoint telemetry (xdr_data) on the WordPress web server · high Threat Brief · experimental
// Threat Brief 2026-11-28 · WP Rocket CVE-2026-125812 · experimental // PHP file named wp-media-*.php written under wp-content (payload planted through the rocket_beacon endpoint) config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.FILE and action_file_path contains "wp-content/" and action_file_name ~= "^wp-media-.*\.php$" | fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_file_path, action_file_name
Creation of a wp-media-*.php file under wp-content on a WordPress server: a vulnerable WP Rocket downloads remote content and saves it as a PHP file. Single-event query, BIOC-ready. False positives: a legitimate plugin or theme deploying a file named wp-media-*.php.
4 quotes from the sources
- “wp-media-*.php” patchstack.com
- “wp-content/wp-rocket-config/” patchstack.com
- “wp-content/uploads/” patchstack.com
- “and save it as a PHP file.” patchstack.com