Skip to content
OpenAdvisories
Critical · 9.6 CVE-2022-23510 EUVD-2022-7533GHSA-6jqm-3c9g-pch7

SQl injection in cube-js

Published Dec 9, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
cube-js cube.js = 0.31.23 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @cubejs-backend/api-gateway >= 0.31.23, < 0.31.24 0.31.24 GHSA-6jqm-3c9g-pch7

References