What’s Vulnerable › Vulnerabilities
CVE-2022-23510: SQl injection in cube-js
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-12-09 · updated 2026-06-17
- Weakness: CWE-89
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.
Affected products
- cube-js cube: 0.31.23
References
- https://github.com/cube-js/cube.js/commit/3c614674fed6ca17df08bbba8c835ef110167570
- https://github.com/cube-js/cube.js/commit/f1140de508e359970ac82b50bae1c4bf152f6041
- https://github.com/cube-js/cube.js/security/advisories/GHSA-6jqm-3c9g-pch7
- https://github.com/cube-js/cube.js/commit/3c614674fed6ca17df08bbba8c835ef110167570
- https://github.com/cube-js/cube.js/commit/f1140de508e359970ac82b50bae1c4bf152f6041
- https://github.com/cube-js/cube.js/security/advisories/GHSA-6jqm-3c9g-pch7
Get alerted when CVE-2022-23510 or the next vulnerability affects your stack