{"id":"CVE-2026-40906","aliases":["CVE-2026-40906"],"related":[],"kind":"vulnerability","state":"published","title":"Electric: SQL Injection via ORDER BY Parameter in Shape API","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"es","text":"Electric es un motor de sincronización de Postgres. Desde la versión 1.1.12 hasta antes de la 1.5.0, el parámetro order_by en la API /v1/shape de ElectricSQL es vulnerable a inyección SQL basada en errores, permitiendo a cualquier usuario autenticado leer, escribir y destruir el contenido completo de la base de datos PostgreSQL subyacente a través de expresiones ORDER BY manipuladas. Esta vulnerabilidad está corregida en la versión 1.5.0.","source":"nvd"}],"published":"2026-04-21T20:05:51.819Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":">= 1.1.12, < 1.5.0","status":"affected"}],"vendor":"electric-sql","product":"electric","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Developer Hub","package":"rhdh/backstage-community-plugin-catalog-backend-module-scaffolder-relation-processor","cpe":"cpe:/a:redhat:rhdh:1","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.1.12","fixed":"1.5.0"}],"vendor":"electric","product":"sync-service","cpe":"cpe:2.3:a:electric:sync-service:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/electric-sql/electric/security/advisories/GHSA-h5rg-pxx7-r2hj","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/electric-sql/electric/pull/4081","tags":["exploit","issue-tracking","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40906","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460291","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40906.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-22T13:46:48.727Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40906","url":"https://www.cve.org/CVERecord?id=CVE-2026-40906","licence":"CVE Terms of Use","modified":"2026-07-15T01:00:25.498Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40906","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40906","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.189Z","epss":{"score":0.0047,"percentile":0.42269,"date":"2026-12-01T12:00:22.000Z"}}