CVE-2026-40906

Critical

Description

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.

SeverityCritical
CVSS9.9
Exploit probability—
ProductElectric Sync-service
PublishedApr 21, 2026
First seenApr 21, 2026
Weakness typeCWE-89SQL injection

How to fix

Update
  • electric sync-service1.5.0 or later

Affected products

ProductAffected versionsFixed in
electric sync-service1.1.12 ≤ v < 1.5.01.5.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-40906 · Electric Sync-service · Dark Radar