CVE-2026-40906: Electric Sync-service SQL Injection

CVE-2026-40906

NVDCVSS scored by security-advisories@github.com

Vulnerability 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.
Severity Level
CRITICAL(9.9)
Published Date
Apr 21, 2026
Last Modified
Nov 11, 2026
Exploitation Status
Public exploit available
EPSS Score (30-Day)
0.47%Probability
Root Weakness (CWE)
Improper neutralization of special elements used in an SQL command, allowing attackers to modify queries.
CVSS v3.1 Base Metrics — Score 9.9 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Electric Sync-service >= 1.1.12 and < 1.5.0
  • electric-sql electric >= 1.1.12, < 1.5.0
Patched Versions
  • Electric Sync-service 1.5.0

What to do

Prioritize this fix. Exploit code is public, so attacks can follow quickly.

  1. Check whether you run Electric Sync-service and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

Timeline

  • Apr 21, 2026Published
  • Nov 11, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Electric Sync-service CVEsYou are reading CVE-2026-40906. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 5, 2026 08:11 UTC