Skip to content

CVE-2026-40906 Electric: SQL Injection via ORDER BY Parameter in Shape API

HighCVSS 8.8 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Red Hat

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.

Upgrade path

3 packages: 1 fixed.

PackageAffectedFixed inStatus
electric sync-service >= 1.1.12, < 1.5.0 1.5.0 Fixed
electric-sql electric = >= 1.1.12, < 1.5.0 No fix listed Versions listed
redhat rhdh = 1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
electric-sql electric = >= 1.1.12, < 1.5.0 No fix listed
redhat rhdh = 1 No fix listed
electric sync-service >= 1.1.12, < 1.5.0 1.5.0

References