CVE-2026-65971: livewire-powergrid: SQL injection via sortDirection in naturalSort queries
Published 2026-11-25 · Updated 2026-11-25 · Also known as GHSA-7fgc-3h6c-698r
Summary
A SQL injection vulnerability exists in the livewire-powergrid package due to improper handling of the public sortDirection property during naturalSort queries. Engineering teams using affected versions should upgrade immediately.
Who is affected
Deployments utilizing power-components/livewire-powergrid versions introduced from 6.0.0 up to 6.10.3 are affected when an attacker can access a PowerGrid table using naturalSort and control the sortDirection property. This allows low-privileged attackers to read arbitrary data from the database via error-based or blind time-based/boolean-based oracles.
Exploitability
The vulnerability is exploitable over a network with low privileges required and no user interaction needed, carrying a CVSS base score of 7.6 (High). The EPSS score is 0.003, and it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade power-components/livewire-powergrid to version 6.10.4 or later.
How to check your project
- Check composer.json or composer.lock for the power-components/livewire-powergrid package to determine if version 6.0.0 through 6.10.3 is installed.
Automated analysis of the published advisory data, generated 2026-11-25. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Packagist | power-components/livewire-powergrid |
>= 6.0.0, < 6.10.4 | 6.10.4 | composer require "power-components/livewire-powergrid:>=6.10.4" |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | Low |
| Availability | Low |
FAQ
What causes CVE-2026-65971?
The Livewire property sortDirection is interpolated verbatim into a raw SQL ORDER BY clause within naturalSort queries without validation when sortField is left empty.
Is remote code execution possible through this vulnerability?
No, stacked queries are blocked by the default PDO MySQL driver, making the impact read-oriented (confidentiality loss via data exfiltration).
Which version fixes the issue?
Version 6.10.4 of power-components/livewire-powergrid addresses this vulnerability.
Original advisory description
References
- WEB https://github.com/Power-Components/livewire-powergrid/security/advisories/GHSA-7fgc-3h6c-698r
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-65971
- WEB https://github.com/Power-Components/livewire-powergrid/commit/13d047bf1637e82926e6914aa3ca0f29a4c9704a
- PACKAGE https://github.com/Power-Components/livewire-powergrid
- WEB https://github.com/Power-Components/livewire-powergrid/releases/tag/v6.10.4
Source records: GHSA-7fgc-3h6c-698r (OSV.dev) · EPSS by FIRST, 2026-11-25.