CVE-2026-40906

9.9 CRITICAL
Published: April 21, 2026 Modified: May 13, 2026
View on NVD

Description

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/electric-sql/electric/pull/4081
Source: security-advisories@github.com
Exploit Issue Tracking
https://github.com/electric-sql/electric/security/advisories/GHSA-h5rg-pxx7-r2hj
Source: security-advisories@github.com
Exploit Vendor Advisory
https://github.com/electric-sql/electric/security/advisories/GHSA-h5rg-pxx7-r2hj
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit Vendor Advisory

3 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.9 / 10.0
EPSS (Exploit Probability)
0.0%
11th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

electric