{"cve":"CVE-2022-23510","nvd":{"published":"2022-12-09T23:15:22.227","modified":"2026-06-17T04:30:16.137","status":"Modified","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_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-89"],"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"],"products":["cube:cube.js"],"source":"nvd","synced_at":"2026-10-19T21:37:28.463369388+00:00"},"epss":{"cve":"CVE-2022-23510","score":0.00974,"percentile":0.62072,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6jqm-3c9g-pch7","url":"https://osv.dev/vulnerability/GHSA-6jqm-3c9g-pch7","summary":"@cubejs-backend/api-gateway row level security bypass","modified":"2023-11-08T04:08:20.061879Z","packages":[{"ecosystem":"npm","name":"@cubejs-backend/api-gateway","purl":"pkg:npm/%40cubejs-backend/api-gateway","ranges":[">=0.31.23 <0.31.24"],"fixed":["0.31.24"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}