CVE-2026-40906 | electric-sql electric up to 1.4.x ORDER /v1/shape order_by sql injection
VulDBArchived Apr 22, 2026✓ Full text saved
A vulnerability was found in electric-sql electric up to 1.4.x . It has been rated as critical . This affects an unknown function of the file /v1/shape of the component ORDER Handler . Performing a manipulation of the argument order_by results in sql injection. This vulnerability is known as CVE-2026-40906 . Remote exploitation of the attack is possible. No exploit is available. Upgrading the affected component is advised.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-358576 · CVE-2026-40906 · GCVE-0-2026-40906
ELECTRIC-SQL ELECTRIC UP TO 1.4.X ORDER /V1/SHAPE ORDER_BY SQL INJECTION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
7.9 $0-$5k 0.76+
Summaryinfo
A vulnerability categorized as critical has been discovered in electric-sql electric up to 1.4.x. This impacts an unknown function of the file /v1/shape of the component ORDER Handler. Executing a manipulation of the argument order_by can lead to sql injection. This vulnerability is handled as CVE-2026-40906. The attack can be executed remotely. There is not any exploit available. It is advisable to upgrade the affected component.
Detailsinfo
A vulnerability was found in electric-sql electric up to 1.4.x. It has been declared as critical. This vulnerability affects an unknown functionality of the file /v1/shape of the component ORDER Handler. The manipulation of the argument order_by with an unknown input leads to a sql injection vulnerability. The CWE definition for the vulnerability is CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability was named CVE-2026-40906 since 04/15/2026. The exploitation appears to be easy. The attack can be initiated remotely. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1505.
Upgrading to version 1.5.0 eliminates this vulnerability.
Productinfo
Vendor
electric-sql
Name
electric
Version
1.0
1.1
1.2
1.3
1.4
Website
Product: https://github.com/electric-sql/electric/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 8.1
VulDB Meta Temp Score: 7.9
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 9.9
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Sql injection
CWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: electric 1.5.0
Timelineinfo
04/15/2026 CVE reserved
04/21/2026 +6 days Advisory disclosed
04/21/2026 +0 days VulDB entry created
04/21/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: github.com
Status: Confirmed
CVE: CVE-2026-40906 (🔒)
GCVE (CVE): GCVE-0-2026-40906
GCVE (VulDB): GCVE-100-358576
Entryinfo
Created: 04/21/2026 22:32
Changes: 04/21/2026 22:32 (66)
Complete: 🔍
Cache ID: 99:074:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸