CVE-2026-40906
Electric: SQL Injection via ORDER BY Parameter in Shape API
CVSS 3.1 10.0 CRITICALCheck source for fixed versionsKEV status unknown
cve-program · CVE-2026-40906
PublishedElectric 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-40906 · CVE overview and exploitation status
cve-program · CVE-2026-40906
Related changes
Linked by CVE identifierNo related changes are available here.