CVE-2026-40906: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in electric-sql electric
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 Analysis
Technical Summary
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.
CVE-2026-40906: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in electric-sql 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
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.
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 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.