CVE-2022-23510
HIGH 8.8CVSS 3.1@cubejs-backend/api-gateway row level security bypass
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.
- Published
- 9 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-6jqm-3c9g-pch7
- Sources
- NVDJSONOSV GHSA-6jqm-3c9g-pch7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cube | cube.jscpe:2.3:a:cube:cube.js:0.31.23:*:*:*:*:node.js:*:* |
= 0.31.23 | |
| OSV | npm | @cubejs-backend/api-gateway | >= 0.31.23, < 0.31.24 | 0.31.24 |
References
- https://github.com/cube-js/cube.js/commit/3c614674fed6ca17df08bbba8c835ef110167570 · Patch, Third Party Advisory, WEB
- https://github.com/cube-js/cube.js/commit/f1140de508e359970ac82b50bae1c4bf152f6041 · Patch, Third Party Advisory, WEB
- https://github.com/cube-js/cube.js/security/advisories/GHSA-6jqm-3c9g-pch7 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-23510 · ADVISORY
- https://github.com/cube-js/cube.js · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 9 Dec 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 12 Dec 2022)