Live threats

All CVEs / Cube

CVE-2022-23510Cube.js

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
Yes
Published
Dec 9, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cube.js.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @cubejs-backend/api-gateway ≥ 0.31.23 < 0.31.24 0.31.24 npm install @cubejs-backend/api-gateway@0.31.24

Per OSV / GitHub Advisories (GHSA-6jqm-3c9g-pch7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
cubecube.js0.31.23

Official sources

References

Links published by the sources. Open them with care.