CVE-2026-40906: electric · SQL Injection
Affects electricSource CVE Database V5
Not known to be exploited · CVSS 10.0 Critical : upgrade to 1.5.0 as a priority.
Data as of 29 Oct 2026, 19:04 UTC
Contested
Critical score, yet low EPSS after six months- EPSS
- 0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.5.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade electric and electric-sql/electric to 1.5.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| electric-sqlelectric | Affected
| Fixed in
|
GitHubelectric-sql/electricpkg:github/electric-sql/electricOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in ElectricSQL version 1.5.0. Users should upgrade to version 1.5.0 or later to remediate this vulnerability. No vendor advisory indicates alternative mitigations or that no action is required.
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.
References
- github.com/electric-sql/electric/security/advisories/GHSA-h5rg-pxx7-r2hj (opens in a new tab)
- github.com/electric-sql/electric/pull/4081 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-40906 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2460291 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40906.json (opens in a new tab)