CVE-2026-40906: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in electric-sql electric
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.
AI Analysis
Technical Summary
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.
CVE-2026-40906: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in electric-sql 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
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.