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 conte…
Vulnerability class: SQL Injection
EPSS: 0.000 (10.6th percentile) — read the EPSS interpretation.
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.
Affected products
- Electric Sync-service
- Electric-sql Electric — versions >= 1.1.12, < 1.5.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (Exploit, x_refsource_MISC, Issue Tracking)
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.