CVE-2026-40906
CriticalCVSS 9.9Exploitation Probability (EPSS)
Low risk37th percentile — higher than 37% of all known CVEs
Summary
A vulnerability in the ElectricSQL /v1/shape API allows SQL injection via the order_by parameter. An authenticated user can read, modify, and delete data in the underlying PostgreSQL database.
Risk Assessment
An attacker can gain full access to the database, leading to data leakage, loss, or integrity compromise of the system.
Recommendation
Immediately update Electric to version 1.5.0 or later, which includes a fix for this vulnerability.
Original NVD description (English source)
Electric is a Postgres sync engine. From 1.1.12 to before 1.5.0, the order_by parameter in the ElectricSQL /v1/shape API is vulnerable to error-based SQL injection, allowing any authenticated user to read, write, and destroy the full contents of the underlying PostgreSQL database through crafted ORDER BY expressions. This vulnerability is fixed in 1.5.0.

