{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40906","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-04-15T16:37:22.767Z","datePublished":"2026-04-21T20:05:51.819Z","dateUpdated":"2026-04-22T13:47:15.546Z"},"containers":{"cna":{"title":"Electric: SQL Injection via ORDER BY Parameter in Shape API","problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"name":"https://github.com/electric-sql/electric/security/advisories/GHSA-h5rg-pxx7-r2hj","tags":["x_refsource_CONFIRM"],"url":"https://github.com/electric-sql/electric/security/advisories/GHSA-h5rg-pxx7-r2hj"},{"name":"https://github.com/electric-sql/electric/pull/4081","tags":["x_refsource_MISC"],"url":"https://github.com/electric-sql/electric/pull/4081"}],"affected":[{"vendor":"electric-sql","product":"electric","versions":[{"version":">= 1.1.12, < 1.5.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-04-21T20:05:51.819Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-h5rg-pxx7-r2hj","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/electric-sql/electric/security/advisories/GHSA-h5rg-pxx7-r2hj","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-22T13:46:48.727407Z","id":"CVE-2026-40906","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-04-22T13:47:15.546Z"}}]}}