Intel

AIKIDO-2025-10598

@cubejs-backend/api-gateway is vulnerable to Generation of Error Message Containing Sensitive Information

Generation of Error Message Containing Sensitive Information Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Sep 1, 2025

10

Low Risk

This Affects:

JS@cubejs-backend/api-gateway
0.30.0 - 1.3.60
Fixed in 1.3.61
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Information Exposure via Stack Trace in the API Gateway. The vulnerability allows attackers to retrieve sensitive stack trace information by triggering an error in the queryRewrite function and querying the load endpoint, even when CUBEJS_DEV_MODE is disabled. It exposes internal application details, which could facilitate further attacks such as targeted exploits or system reconnaissance.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@cubejs-backend/api-gateway is vulnerable to Generation of Error Message Containing Sensitive Information in versions 0.30.0 - 1.3.60.

How to fix this

Upgrade the @cubejs-backend/api-gateway library to the patch version.