SQL Injection in Electric Sync-Service
CVE-2026-40906
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.005 (42.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 42.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: +0.001
Affected products
- Electric Sync-Service
- Electric-Sql Electric — versions >= 1.1.12, < 1.5.0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-40906?
- CVE-2026-40906 is a critical-severity vulnerability in Electric Sync-Service, classified under SQL Injection. CVSS score: 9.9/10. Published 2026-04-21.
- How severe is CVE-2026-40906?
- Critical severity. CVSS v3 base score is 9.9 out of 10.