SQL Injection Vulnerability in Electric Postgres Sync Engine by Electric
CVE-2026-40906
10CRITICAL
What is CVE-2026-40906?
The Electric Postgres Sync Engine, versions ranging from 1.1.12 to just before 1.5.0, contains a significant vulnerability within the order_by parameter of the ElectricSQL /v1/shape API. This flaw leaves the engine susceptible to error-based SQL injection attacks, which could enable authenticated users to manipulate the underlying PostgreSQL database. Through specifically crafted ORDER BY expressions, a malicious actor may gain access to sensitive data, modify existing records, or even erase database contents entirely. Users are advised to upgrade to version 1.5.0 or later, where this vulnerability has been addressed.
Affected Version(s)
electric >= 1.1.12, < 1.5.0
