Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 89%

CVE-2026-40906: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in electric-sql electric

0
Critical
VulnerabilityCVE-2026-40906cvecve-2026-40906cwe-89
Published: Tue Apr 21 2026 (04/21/2026, 20:05:51 UTC)
Source: CVE Database V5
Vendor/Project: electric-sql
Product: electric

Description

CVE-2026-40906 is a critical SQL injection vulnerability in the ElectricSQL Postgres sync engine versions 1. 1. 12 up to but not including 1. 5. 0. The flaw exists in the order_by parameter of the /v1/shape API endpoint, allowing any authenticated user to execute crafted ORDER BY expressions that can read, modify, or delete the entire PostgreSQL database contents. This vulnerability has a CVSS score of 10, indicating maximum severity. The issue is fixed in version 1. 5. 0.

CVSS v3.1

Score 10.0critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/29/2026, 11:37:42 UTC

Technical Analysis

ElectricSQL's electric product versions from 1.1.12 to before 1.5.0 contain an error-based SQL injection vulnerability in the order_by parameter of the /v1/shape API. Authenticated users can exploit this to perform unauthorized read, write, and delete operations on the underlying PostgreSQL database by injecting malicious ORDER BY clauses. The vulnerability is tracked as CVE-2026-40906 with a CVSS 3.1 base score of 10.0, reflecting critical impact on confidentiality, integrity, and availability. The vulnerability is resolved in version 1.5.0.

Potential Impact

Exploitation of this vulnerability allows any authenticated user to fully compromise the PostgreSQL database used by ElectricSQL, including reading sensitive data, modifying records, and deleting data. This results in complete loss of confidentiality, integrity, and availability of the database contents.

Mitigation Recommendations

Upgrade ElectricSQL electric to version 1.5.0 or later, where this SQL injection vulnerability is fixed. Since no official patch or temporary workaround details are provided, applying this version upgrade is the recommended remediation. Patch status is not explicitly confirmed beyond the version fix note, so verify with vendor advisories for the latest guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-15T16:37:22.767Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e85dc119fe3cd2cd7080aa

Added to database: 4/22/2026, 5:33:53 AM

Last enriched: 4/29/2026, 11:37:42 AM

Last updated: 6/5/2026, 11:32:48 PM

Views: 247

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses