{"identifier":"CVE-2026-40906","cve":{"id":"CVE-2026-40906","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.","published":"2026-04-21T21:16:44.697000+00:00","modified":"2026-11-11T23:10:00.263000+00:00","status":"Modified","score":9.9,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","cvss_version":"3.1","affected":[{"criteria":"cpe:2.3:a:electric:sync-service:*:*:*:*:*:*:*:*","versionStartIncluding":"1.1.12","versionStartExcluding":"","versionEndIncluding":"","versionEndExcluding":"1.5.0"}],"weaknesses":["CWE-89"],"references":[{"url":"https://github.com/electric-sql/electric/pull/4081","source":"security-advisories@github.com","tags":["Exploit","Issue Tracking"]},{"url":"https://github.com/electric-sql/electric/security/advisories/GHSA-h5rg-pxx7-r2hj","source":"security-advisories@github.com","tags":["Exploit","Vendor Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40906","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460291","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://github.com/electric-sql/electric/security/advisories/GHSA-h5rg-pxx7-r2hj","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Vendor Advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40906.json","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"}],"kev":null,"kev_checked":true,"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":9.9,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.1,"impactScore":6.0},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-22T13:46:48.727407Z","id":"CVE-2026-40906","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:electric:sync-service:*:*:*:*:*:*:*:*","versionStartIncluding":"1.1.12","versionEndExcluding":"1.5.0","matchCriteriaId":"3D00A7C9-9FEC-484A-8B51-FEB621D8D022"}]}]}],"source":"nvd","retrieved_at":"2026-11-12T01:12:09.816888+00:00","exploited":false,"kev_stale":false,"products":["electric / sync-service"],"priority":{"label":"Critical technical severity","reasons":["CVSS is at least 9.0; exploitation is not established by severity alone."]},"epss":{"probability":0.0047,"percentile":0.41299,"date":"2026-11-18","stale":false},"version_assessment":null},"news":[],"campaigns":[],"domains":[{"domain":"github.com","source_url":"https://github.com/electric-sql/electric/pull/4081","investigate_url":"https://investigate.aeglixmind.com/#github.com"},{"domain":"access.redhat.com","source_url":"https://access.redhat.com/security/cve/CVE-2026-40906","investigate_url":"https://investigate.aeglixmind.com/#access.redhat.com"},{"domain":"bugzilla.redhat.com","source_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460291","investigate_url":"https://investigate.aeglixmind.com/#bugzilla.redhat.com"},{"domain":"security.access.redhat.com","source_url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40906.json","investigate_url":"https://investigate.aeglixmind.com/#security.access.redhat.com"}],"arsenal_url":"https://arsenal.aeglixmind.com/?cve=CVE-2026-40906","catalog_url":"https://cves.aeglixmind.com/cve/CVE-2026-40906","research_url":"https://investigate.aeglixmind.com/research/cve/CVE-2026-40906","coverage":{"news_candidates_checked":0,"campaign_candidates_checked":0,"bounded":false,"notice":"Exact CVE mentions in stored public excerpts and reviewed campaign content only. A mention is not proof of exploitation, attribution or tool suitability. Missing matches do not establish absence."}}