CVE-2026-40906: Vulnerability in Electric Sync-service

Critical. 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.

CWE-89

Exploitation
None confirmed
Severity
9.9 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-89
Published
21 Apr 2026
Last change
11 Nov 2026

Affected products

Affected versions and the first fixed release

  • Electric Sync-service From 1.1.12 before 1.5.0. Fixed in 1.5.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related