Back to CVE records
Critical 10.0Published Apr 21, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects electric-sql electric and 2 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
10.0 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness (CWE)
CWE-89
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Modified
Record last updated
Jul 14, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
electric-sql electric
electric_sql:electric (from the name)
from 1.1.12, < 1.5.0
CNA record
1
CISA ADP
electric sync-service
electric:sync-service
from 1.1.12 before 1.5.0
NVD

References

  • x-refsource-confirm, exploit, vendor-advisory
  • x-refsource-misc, exploit, issue-tracking

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.