CVEvulnerability
CVE-2026-40906
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2026-04-21
- Last modified
- 2026-07-15
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.9 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (0b0ca135-0b70-47e7-9f44-1890c2a1c46c)
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-89
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.
Affected configurations
• electric sync-service (>= 1.1.12 < 1.5.0)
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://github.com/electric-sql/electric/pull/4081 Exploit, Issue Tracking
- https://github.com/electric-sql/electric/security/advisories/GHSA-h5rg-pxx7-r2hj Exploit, Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2026-40906 access.redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2460291 bugzilla.redhat.com
- https://github.com/electric-sql/electric/security/advisories/GHSA-h5rg-pxx7-r2hj Exploit, Vendor Advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40906.json security.access.redhat.com