CVE-2026-40906
Electric Sync-service SQL injection
- Published21 Apr 2026
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.
CVSS 3.1 breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HAffected products
Remediation
References
- https://access.redhat.com/security/cve/CVE-2026-40906
- https://bugzilla.redhat.com/show_bug.cgi?id=2460291
- https://github.com/electric-sql/electric/pull/4081
- https://github.com/electric-sql/electric/security/advisories/GHSA-h5rg-pxx7-r2hj
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40906.json
Related CVEs
Recent high-severity vulnerabilities sharing a weakness type.
Frequently asked
Is CVE-2026-40906 being actively exploited?
CVE-2026-40906 is not in the CISA KEV catalog. A public exploit reference exists, so treat it as exploitable. Its EPSS exploit probability is 0.53%.
How severe is CVE-2026-40906?
CVE-2026-40906 has a CVSS 3.1 base score of 9.9, rated critical. EPSS estimates a 0.53% probability of exploitation.
Which products are affected by CVE-2026-40906?
Affected products include Electric Sync-service.
How do I fix CVE-2026-40906?
Upgrade affected software to a fixed version, for example Electric Sync-service 1.5.0 or later, then confirm no affected versions remain in your inventory.
How Secuno handles this
Secuno correlates vulnerabilities like CVE-2026-40906 against the real software inventory on every managed device, every day. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.
Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.