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…

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

ElectricSQL versions from 1. 1. 12 up to but not including 1. 5. 0 contain a critical SQL injection vulnerability in the /v1/shape API's order_by parameter. This flaw allows any authenticated user to perform error-based SQL injection, enabling them to read, modify, or delete the entire PostgreSQL database contents. The vulnerability is fixed in version 1. 5. 0. No official patch or remediation advisory is currently provided in the data.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 05:35:12 UTC

Technical Analysis

CVE-2026-40906 is a critical SQL injection vulnerability (CWE-89) affecting ElectricSQL, a Postgres sync engine. The issue exists in the order_by parameter of the /v1/shape API endpoint in versions >= 1.1.12 and < 1.5.0. Authenticated users can exploit error-based SQL injection to fully compromise the underlying PostgreSQL database, including reading, writing, and deleting data. The vulnerability has a CVSS 3.1 base score of 10.0, indicating maximum severity. The vulnerability is resolved in ElectricSQL version 1.5.0. No vendor advisory or patch link is currently provided.

Potential Impact

Exploitation allows any authenticated user to execute arbitrary SQL commands via the order_by parameter, resulting in full read, write, and deletion access to the PostgreSQL database underlying ElectricSQL. This compromises confidentiality, integrity, and availability of the data managed by the affected versions.

Mitigation Recommendations

Upgrade ElectricSQL to version 1.5.0 or later, where this SQL injection vulnerability is fixed. Since no official patch or advisory is provided in the data, users should verify the upgrade path and confirm the fix with the vendor or official ElectricSQL release notes before deployment. Until upgraded, restrict access to authenticated users and monitor for suspicious activity related to the /v1/shape API.

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/22/2026, 5:35:12 AM

Last updated: 4/22/2026, 9:07:14 AM

Views: 8

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