PT-2026-34173 · Unknown+1 · Electricsql+1

·

CVE-2026-40906

·

Published

2026-04-21

·

Updated

2026-05-13

CVSS v3.1

9.9

Critical

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Electric versions 1.1.12 through 1.4.x
Description The '/v1/shape' API in ElectricSQL contains an error-based SQL injection flaw. This occurs when the order by parameter is processed, allowing an authenticated user to execute crafted ORDER BY expressions to read, write, and destroy the entire contents of the underlying PostgreSQL database.
Recommendations Update to version 1.5.0. As a temporary workaround, restrict or avoid using the order by parameter in the '/v1/shape' API endpoint until the update is applied.

Exploit

Fix

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-40906
GHSA-H5RG-PXX7-R2HJ

Affected Products

Electricsql
Postgresql