@lightdash/common is vulnerable to Path Traversal
75
CVE Score
High
Path Traversal
The dbt Cloud webhook endpoint POST /api/v1/projects/{projectUuid}/dbt-cloud/webhook has no authentication middleware and no signature validation. The attacker-supplied accountId and runId from the request body are interpolated unsanitized into a server-side dbt Cloud API URL that is called with the victim project's dbt Cloud API key in the Authorization header. Path injection through accountId (for example a ../ traversal sequence) rewrites that authenticated request to an attacker-influenced path, leaking the API key and triggering preview creation without authentication. The fix requires authentication, validates the webhook HMAC signature, and validates and encodes the path parameters.
Upgrade the @lightdash/common library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and the project uses a dbt Cloud connection.
0.0.1 - 0.3213.0
Fixed in 0.3214.0@lightdash/common is vulnerable to Path Traversal in versions 0.0.1 - 0.3213.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.