Vulnerability record · CVE-2022-23510 · published 9 December 2022
CVE-2022-23510: Cube.js sql injection vulnerability
Cube · Cube.Js
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/cube-js/cube.js/commit/3c614674fed6ca17df08bbba8c835ef110167570 | PatchThird Party Advisory |
| https://github.com/cube-js/cube.js/commit/f1140de508e359970ac82b50bae1c4bf152f6041 | PatchThird Party Advisory |
| https://github.com/cube-js/cube.js/security/advisories/GHSA-6jqm-3c9g-pch7 | Third Party Advisory |
| https://github.com/cube-js/cube.js/commit/3c614674fed6ca17df08bbba8c835ef110167570 | PatchThird Party Advisory |
| https://github.com/cube-js/cube.js/commit/f1140de508e359970ac82b50bae1c4bf152f6041 | PatchThird Party Advisory |
| https://github.com/cube-js/cube.js/security/advisories/GHSA-6jqm-3c9g-pch7 | Third Party Advisory |
Track CVE-2022-23510 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-23510), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.