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.
Do this next
Free account, 1 product
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
electric-sql electric electric_sql:electric (from the name) | from 1.1.12, < 1.5.0 | CNA record |
Red Hat Red Hat Developer Hub redhat:rhdh | 1 | CISA ADP |
electric sync-service electric:sync-service | from 1.1.12 before 1.5.0 | NVD |
References
- https://github.com/electric-sql/electric/security/advisories/GHSA-h5rg-pxx7-r2hjx-refsource-confirm, exploit, vendor-advisory
- https://github.com/electric-sql/electric/pull/4081x-refsource-misc, exploit, issue-tracking
- https://access.redhat.com/security/cve/CVE-2026-40906
- https://bugzilla.redhat.com/show_bug.cgi?id=2460291
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40906.json
The CVE record on cve.org NVD's entry
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.