Skip to main content
← All vulnerabilities
CVE-2026-40906

Electric: SQL Injection via ORDER BY Parameter in Shape API

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.5.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • electric-sql electric

    From 1.1.12 · fixed in 1.5.0

References 2

GitHub · electric-sql/electric