Skip to content
← Blog · · df00tech

CVE-2026-65971: SQL Injection in livewire-powergrid via sortDirection Parameter

vuln-intel composer CVE-2026-65971 #checker-reject

What the vulnerability is

CVE-2026-65971 is a SQL injection vulnerability (CWE-89) in the power-components/livewire-powergrid Composer package. The library's naturalSort logic builds ORDER BY clauses directly from the client-supplied sortDirection parameter without validating or parameterizing it. Because PowerGrid's sorting state is driven by Livewire's client-to-server update mechanism, an attacker can manipulate this value in a crafted request to inject arbitrary SQL into the resulting query, enabling data exfiltration, boolean/time-based blind injection, or UNION-based extraction depending on the underlying database driver.

Affected software

  • Vendor/ecosystem: Composer (PHP)
  • Package: power-components/livewire-powergrid
  • Affected versions: >= 6.0.0, < 6.10.4
  • CVSS: 7.6

Exploitation status

A public proof-of-concept exists for this vulnerability (exploit status: PoC public). There is no indication it has been added to CISA's KEV catalog or observed as weaponized in the wild, but public PoC code significantly lowers the bar for opportunistic scanning and exploitation. Defenders running affected versions should treat this as an active risk and prioritize patching or mitigating controls, since a patched release date has not yet been recorded for this advisory.

How our detection catches it

Our detection targets the Livewire request path used by PowerGrid's sorting feature. It looks for POST requests to Livewire update endpoints (/livewire/update or /livewire/message) where the sortDirection field contains SQL metacharacters, boolean- or time-based blind injection markers, UNION/stacked-query syntax, or subselects embedded in what should be a simple ascending/descending sort token. The logic correlates web/WAF access logs with database query logs to flag malformed or anomalous ORDER BY clauses that align with these requests, helping confirm whether a suspicious payload actually reached the database layer. This logic ships across our full SIEM coverage: Microsoft Sentinel (KQL), Splunk (SPL), Elastic (EQL), IBM QRadar (AQL), Sumo Logic, Google Chronicle (YARA-L), and CrowdStrike (CQL).

Learn more

For the full detection logic, sample events, investigation guidance, and atomic tests, see the CVE-2026-65971 detection page on df00tech.

Get new detections in your inbox

New ATT&CK coverage plus CISA KEV / CVE detection rules, roughly weekly. No spam, unsubscribe anytime.