Skip to navigation

Threat reportVulnerabilityTL-2026-6688

WPIDE WordPress Plugin CSRF Nonce Bypass Leading to PHP Code Execution (CVE-2026-124251); Incomplete Fix for CVE-2026-57766 Found With AI Assistance

highPATCHED

CVE-2026-124251 is a cross-site request forgery flaw in the WPIDE – File Manager & Code Editor WordPress plugin (40,000+ active installs) affecting versions up to 3.6.4. Because the plugin ships a PHP snippet runner, a forged request sent to a logged-in administrator can lead to server-side PHP execution and site takeover. First disclosed .

Key facts

IdentifiersTL-2026-6688, CVE-2026-124251, CVE-2026-57766
Also known asWPIDE CSRF Nonce Bypass, CVE-2026-57766 incomplete fix
SeverityHIGH
CVSS8.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
First disclosed
EPSSCVE-2026-57766: 0.2% (9.9th percentile); CVE-2026-124251: 0.1% (7.2th percentile)
Affected productsXplodedThemes WPIDE – File Manager & Code Editor (WordPress plugin)
Weaknesses (CWE)CWE-352
ToolsGLM-5.3-Flash, Gemini Flash
MITRE ATT&CK techniquesT1059 Command and Scripting Interpreter, T1189 Drive-by Compromise, T1190 Exploit Public-Facing Application, T1204.001 User Execution: Malicious Link, T1505.003 Server Software Component: Web Shell, T1588.007 Obtain Capabilities: Artificial Intelligence
MotivationUNKNOWN
Target sectorstechnology, news - media, ecommerce, small business, any wordpress-hosting organization
Target regionsGlobal
Detection rules9 (1 shown free)
Sources9 cited sources

Detection coverage

As of 2026-11-23, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6688 across Splunk SPL, Microsoft KQL and Sigma, covering 18 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: WPIDE CVE-2026-124251 Nonce Bypass — Encoded Submenu Slug in admin.php (Exploitation)

Behaviour-first web-log search for the CVE-2026-124251 nonce bypass: requests to /wp-admin/admin.php where page=wpide#/<submenu> (URL-encoded %23%2F) skip WPIDE request verification in versions <= 3.6.4. Also labels snippets/save and snippets/execute actions that give PHP execution.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1189, T1204.001
  • Data sources: apache_access_log, nginx_access_log, iis_w3c_log, azure_application_gateway_access_log
  • Severity: high
  • Confidence: high

Splunk SPL

index=web sourcetype IN ("access_combined","apache:access","nginx:plus:access") "admin.php" ("%23" OR "wpide#")
| eval decoded=urldecode(_raw)
| where match(decoded,"(?i)page=wpide#/(file-manager|file-editor|image-editor|db-manager|config-manager|snippets|settings)")
| eval wpide_action=case(match(decoded,"(?i)req=/snippets/save"),"snippets/save", match(decoded,"(?i)req=/snippets/execute"),"snippets/execute", true(),"other")
| eval client=coalesce(clientip,src,src_ip)
| stats count earliest(_time) as first_seen latest(_time) as last_seen values(wpide_action) as wpide_action values(status) as http_status by host, client
| convert ctime(first_seen) ctime(last_seen)

Microsoft KQL

let lookback = 24h;
let WebReq = union isfuzzy=true
    (W3CIISLog
     | where TimeGenerated > ago(lookback)
     | where csUriStem endswith "/wp-admin/admin.php"
     | project TimeGenerated, SourceIp = cIP, Method = csMethod, Uri = strcat(csUriStem, "?", csUriQuery), Referer = csReferer, Status = tostring(scStatus), Host = sSiteName),
    (AzureDiagnostics
     | where TimeGenerated > ago(lookback)
     | where Category == "ApplicationGatewayAccessLog" and requestUri_s has "/wp-admin/admin.php"
     | project TimeGenerated, SourceIp = clientIP_s, Method = httpMethod_s, Uri = requestUri_s, Referer = "", Status = tostring(httpStatus_d), Host = host_s)
| extend DecodedUri = url_decode(Uri);
WebReq
| where DecodedUri matches regex @"(?i)page=wpide#/(file-manager|file-editor|image-editor|db-manager|config-manager|snippets|settings)"
| summarize Requests = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Methods = make_set(Method), Statuses = make_set(Status), SampleUri = take_any(DecodedUri) by SourceIp, Host
| order by Requests desc

Sigma

title: WPIDE CVE-2026-124251 Nonce Bypass Via URL-Encoded Submenu Slug
id: 6f1c2a54-3b0e-4d7a-9c11-8a5e2d7b6601
status: experimental
description: 'Detects requests to wp-admin/admin.php whose page parameter carries a WPIDE submenu slug containing #/ (URL-encoded %23%2F), the slug form that skips request verification in WPIDE <= 3.6.4. A browser never sends a URL fragment, so legitimate use does not produce this form.'
references:
    - https://patchstack.com/database/wordpress/plugin/wpide/vulnerability/wordpress-wpide-file-manager-code-editor-plugin-3-6-4-cross-site-request-forgery-csrf-vulnerability
    - https://cyberscoop.com/wpide-csrf-vulnerability-cve-2026-124251/
author: Threadlinqs Team
date: 2026-11-23
tags:
    - attack.initial-access
    - attack.t1190
    - attack.t1189
    - attack.t1204.001
    - cve.2026.124251
logsource:
    category: webserver
detection:
    selection_path:
        c-uri|contains: '/wp-admin/admin.php'
    selection_slug:
        c-uri-query|contains:
            - 'page=wpide%23%2F'
            - 'page=wpide%23/'
            - 'page=wpide#/'
    condition: selection_path and selection_slug
falsepositives:
    - Security scanners or pentests replaying published WPIDE proofs of concept
    - Administrators manually testing WPIDE deep links with a hand-edited URL
level: high

Known false positives:

  • Security scanners or pentests replaying public WPIDE PoCs against your own sites
  • Admins testing WPIDE deep links with a hand-edited URL

Tuning notes: Set index=web and the sourcetype list to match your web-log onboarding. The query string must be logged (it is by default). Restrict to hosts that run WPIDE using a lookup, and exclude vulnerability-scanner source IPs. Expected to be near-zero noise once WPIDE is patched to 3.6.5.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • WPIDE Snippet Save-then-Execute Chain via admin.php (Exploitation) · unlock with TL Creds
  • Direct HTTP Access to WPIDE Snippet PHP File — Web Shell Use (Post-Exploitation) · unlock with TL Creds
  • Web Worker Launching curl/wget/nc — Second-Stage Tool Transfer (C2) · unlock with TL Creds
  • Cross-Origin WPIDE Forged Request (Referer Outside wp-admin) — CSRF Delivery · unlock with TL Creds
  • Web Worker Process Spawning Shell — PHP Snippet Command Execution (Post-Exploitation) · unlock with TL Creds
  • Reverse Shell From Web Server Account — C2 Channel Opened From PHP (C2) · unlock with TL Creds
  • WPIDE PHP Snippet File Dropped in uploads/wpide-snippets/php (Post-Exploitation) · unlock with TL Creds
  • Web Worker Outbound Connection to Public IP — PHP Beaconing / Payload Fetch (C2) · unlock with TL Creds

Indicators of compromise

As of 2026-11-23, Threadlinqs Intelligence tracks 18 indicators of compromise for TL-2026-6688.

18 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

It is an incomplete fix for the July 2026 CVE-2026-57766 and was fixed in 3.6.5. No in-the-wild exploitation has been reported.

WPIDE (vendor: XplodedThemes) is an in-dashboard file manager, code editor, database manager and PHP snippet runner for WordPress, with more than 40,000 active installations per wordpress.org. CVE-2026-124251 (CVSS 3.1 8.8, vector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, CWE-352, assigned by the Patchstack CNA) affects versions through 3.6.4. It is a follow-on to CVE-2026-57766, an unauthenticated CSRF in WPIDE <= 3.5.6 published on 2026-07-02, which was fixed in 3.5.7 per Patchstack.

Per the researcher's technical report (generated with the help of GLM-5.3-Flash, so not independently verified), the 3.6.0 nonce check ran only when the admin.php `page` parameter equalled the main slug `wpide` exactly. The seven submenu slugs (file-manager, file-editor, image-editor, db-manager, config-manager, snippets, settings) contain `#/`, and WordPress accepts the URL-encoded form `%23%2F`, so the verification was skipped. Version 3.6.2 moved to an X-CSRF-Token header but kept the same slug-scoped gate, so the bypass persisted across three releases (3.6.0, 3.6.1, 3.6.2). Actions are dispatched by the `req` GET parameter (for example `/snippets/save`, `/snippets/execute`, `/createnew`). Controllers parse the request body with json_decode regardless of Content-Type, so a cross-origin HTML form using enctype=text/plain can deliver a JSON payload without a CORS preflight.

The code-execution path is the Snippets feature introduced in 3.6.0. Saving a PHP snippet with status active executes attacker PHP during the save request. The report says the plugin writes a file under uploads/wpide-snippets/php/ and includes it, falling back to eval() if the directory is not writable. A second forged request to /snippets/execute re-runs the stored snippet, which makes execution persistent. The victim must be a logged-in administrator holding the snippet capability and must visit an attacker-controlled page (UI:R).

The issue was reported by Greg Otto (CyberScoop) via Patchstack on 2026-10-30. He used free LLMs (Gemini Flash and GLM-5.3-Flash, per the article) to pick the target, diff the July patch against later versions and draft proofs of concept. Patchstack reproduced and confirmed the issue. WPIDE 3.6.4 (2026-11-08) enforced request verification across all admin pages, and 3.6.5 (2026-11-08) additionally refuses plain-text and form-encoded bodies for state-changing requests. The CVE was published on 2026-11-10. Patchstack labels the issue low priority and says it is unlikely to be exploited, and SecurityOnline lists EPSS (30-day) at 0.18%. No in-the-wild exploitation, threat actor or network IOCs are reported. Source discrepancy: SecurityOnline lists 3.6.4 as the patched version, while Patchstack and wordpress.org changelog indicate 3.6.5 completes the fix.

MITRE ATT&CK techniques by tactic:

Execution

T1059 Command and Scripting Interpreter; T1204.001 User Execution: Malicious Link

Initial Access

T1189 Drive-by Compromise; T1190 Exploit Public-Facing Application

Persistence

T1505.003 Server Software Component: Web Shell

Resource Development

T1588.007 Obtain Capabilities: Artificial Intelligence

Remediation

Patches

  • WPIDE 3.6.4 (2026-11-08) enforces request verification across all admin pages
  • WPIDE 3.6.5 (2026-11-08) rejects plain-text and form-encoded bodies on data-changing requests

Immediate actions

  • Update WPIDE to 3.6.5 or later
  • Review wp-content/ and uploads/wpide-snippets/ for unexpected PHP files and review the Snippets list for unknown snippets
  • Review web logs for POSTs to /wp-admin/admin.php with wpide%23%2F or #/ in the page parameter and req=/snippets/save or /snippets/execute

Workarounds

  • Deactivate the WPIDE plugin if it cannot be updated
  • Log administrators out of wp-admin when browsing untrusted sites

Longer-term hardening

  • Remove in-dashboard code editors and snippet runners from production sites where not needed
  • Restrict wp-admin access by IP or VPN and enforce separate browser profiles for administration
  • Set DISALLOW_FILE_EDIT and monitor file integrity under wp-content

Affected and fixed versions

  • XplodedThemes — WPIDE – File Manager & Code Editor (WordPress plugin)
    Vulnerable versions: <= 3.6.4
    Fixed in: 3.6.5

Timeline

Last updated · revalidated 1× · latest source

  • dodoh4t reports the original WPIDE CSRF (later CVE-2026-57766) to Patchstack, per the Patchstack page.
  • CVE-2026-57766 (unauthenticated CSRF in WPIDE <= 3.5.6) published; Patchstack lists 3.5.7 as the fixed version.
  • Greg Otto reports the incomplete fix and nonce bypass to Patchstack, per Patchstack's reported date and the technical report.
  • WPIDE 3.6.2 released; the technical report states it moved to an X-CSRF-Token header but kept the slug-scoped gate, so the bypass persisted. The changelog entry for 3.6.2 concerns multisite super-admin restrictions.
  • CVE-2026-124251 reserved, per the technical report.
  • XplodedThemes releases WPIDE 3.6.4 (request verification enforced on all admin pages, reported by Greg Otto) and 3.6.5 (plain-text and form-encoded bodies refused on data-changing requests, suggested by Patchstack).
  • Patchstack publishes its advisory and CVE-2026-124251 with CVSS 8.8 and sends early warning to customers.
  • CyberScoop publishes the first-person account of AI-assisted discovery and the technical report.

Update history

Sources cited

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 9 sources; published ; last updated .

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats