{"id":"CVE-2022-23510","published":"2022-12-09T22:12:10Z","modified":"2025-04-23T16:29:13Z","title":"SQl injection in cube-js","vendor":"cube-js","product":"cube.js","tier":"tail","description":{"text":"cube-js is a headless business intelligence platform. In version 0.31.23 all authenticated Cube clients could bypass SQL row-level security and run arbitrary SQL via the newly introduced /v1/sql-runner endpoint. This issue has been resolved in version 0.31.24. Users are advised to either upgrade to 0.31.24 or to downgrade to 0.31.22. There are no known workarounds for this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00994,"percentile":0.63454,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/cube-js/cube.js/security/advisories/GHSA-6jqm-3c9g-pch7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cube-js/cube.js/commit/3c614674fed6ca17df08bbba8c835ef110167570","tags":["x_refsource_MISC"]},{"url":"https://github.com/cube-js/cube.js/commit/f1140de508e359970ac82b50bae1c4bf152f6041","tags":["x_refsource_MISC"]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":12.69},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"cube-js","affectedVersions":[{"vendor":"cube-js","product":"cube.js","versions":["= 0.31.23"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:45:57.137815Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@cubejs-backend/api-gateway","vulnerableRanges":[">=0.31.23, <0.31.24"],"patched":["0.31.24"],"from":["GHSA-6jqm-3c9g-pch7"],"provenance":"source"}],"summary":{"text":"The cube.js headless business intelligence platform, from cube-js, has an SQL injection flaw in its /v1/sql-runner endpoint in version 0.31.23, which allows arbitrary SQL to bypass row-level security. An attacker needs network access and valid credentials as any authenticated Cube client, requiring no user interaction and no special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:41Z"},"euvd":{"id":"EUVD-2022-7533","exploited":false,"provenance":"source"}}