CVE-2026-65971

livewire-powergrid: SQL injection via sortDirection in naturalSort queries

High published · updated · also known as GHSA-7FGC-3H6C-698R

7.6
CVSS score out of 10 · NVD (github.com)

Description

Livewire PowerGrid creates data tables based on Laravel Livewire library. From version 6.0.0 to before version 6.10.4, the public Livewire property sortDirection is interpolated verbatim into a raw SQL ORDER BY clause and is not restricted to asc/desc, allowing arbitrary SQL injection through POST /livewire/update. This issue has been patched in version 6.10.4.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
power-components/livewire-powergrid composer >= 6.0.0, < 6.10.46.10.4 GitHub

References