Read the docs
TI-2026-29562 Aliases CVE-2026-40906

Electric: SQL Injection via ORDER BY Parameter in Shape API

Priority MEDIUM 43CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00461 40th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed electric (electric-sql): 1.5.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ElectricSQLelectric1.1.12 to before 1.5.01.5.0Patch availableCNA
  • electric VendorElectricSQL Affected 1.1.12 to before 1.5.0 Fixed in 1.5.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:electric:sync-service:*:*:*:*:*:*:*:*1.1.12 to before 1.5.0VulnerableElectric
  • cpe:2.3:a:electric:sync-service:*:*:*:*:*:*:*:* Versions 1.1.12 to before 1.5.0 Vulnerable ·Electric

Remediation

  • Fix · CNA electric (electric-sql) Fixed in 1.5.0

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat Developer Hub 1

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-40906
  2. 2026-10-27 Affected versions changed · Red Hat

References

  • TI-2026-46520 Electric Postgres Sync Excluded-Column Value Inference via Subset Where Clauses CVSS 4.0MEDIUM 5.3

Sources