CVE-2026-40906: Electric is a Postgres sync engine
CVE-2026-40906 is a critical-severity flaw (CVSS 9.9) affecting sync-service. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 this priority
- Critical severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.9 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 60%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2026-04-21 |
| Last modified | 2026-07-15 |
Last updated 2026-07-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40906?
sync-service: upgrade to 1.5.0. Exact commands for each OS are on this page.
Is CVE-2026-40906 being exploited?
CVE-2026-40906 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40906 affect?
CVE-2026-40906 affects sync-service. Severity is critical (CVSS 9.9). 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 conten
How urgent is CVE-2026-40906?
Priority 50/100. Critical severity; Public exploit reference