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

Published

2026-04-21

·

Updated

2026-05-13

·

CVE-2026-40906

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

Weakness Enumeration

Related Identifiers

CVE-2026-40906

Affected Products

Electricsql
Postgresql