---
id: "CVE-2026-65971"
page: "https://infrastack.ai/live/CVE-2026-65971"
kind: "vulnerability"
aliases: ["CVE-2026-65971"]
title: "Livewire PowerGrid: sort direction input allows SQL injection in data tables"
severity: "high"
cvss: 7.6
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["composer", "laravel", "livewire", "package", "php"]
not_affected_if: ["no-powergrid", "version-6.10.4-or-later"]
published_at: "2026-11-11T22:17:28+00:00"
first_seen_at: "2026-11-11T22:29:34+00:00"
updated_at: "2026-11-11T22:31:53+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-65971", "first_seen_at": "2026-11-11T22:29:34+00:00"}]
exploit_sources: []
---

# Livewire PowerGrid: sort direction input allows SQL injection in data tables

Link for people: https://infrastack.ai/live/CVE-2026-65971 (this .md is for agents)

Livewire PowerGrid builds data tables on Laravel Livewire and inserts the public sortDirection property directly into a raw SQL ORDER BY clause without restricting it to asc or desc. A remote request to POST /livewire/update can therefore inject arbitrary SQL into the application's database queries.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed version of `livewire-powergrid` in `composer.lock` or with `composer show power-components/livewire-powergrid`
- Confirm whether the application exposes PowerGrid tables to unauthenticated or public users

## Fix

- `livewire-powergrid` `6.10.4` and later (fixed version stated in the sources)

## Timeline

- 2026-11-11T22:29:34+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-65971

## Documents

- [advisory] Vendor advisory: github.com https://github.com/Power-Components/livewire-powergrid/security/advisories/GHSA-7fgc-3h6c-698r
- [fix] Patch: github.com https://github.com/Power-Components/livewire-powergrid/commit/13d047bf1637e82926e6914aa3ca0f29a4c9704a
- [fix] Release notes: github.com https://github.com/Power-Components/livewire-powergrid/releases/tag/v6.10.4

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
