@lightdash/common is vulnerable to OS Command Injection
88
High Risk
Lightdash passes project-configured dbt environment variables into the dbt subprocess when compiling or running a project. The denylist that screens those variables is incomplete and is only applied when settings are saved, so stored values for keys such as GIT_PROXY_COMMAND, BASH_ENV, or loader variables like LD_PRELOAD reach the execution environment and can run externally supplied commands. A user who can update a project can set such a variable and obtain server-side command execution when dbt runs (for example when dbt deps invokes git). The fix adds an execution-time safe-environment builder, expands the blocked keys and prefixes, and ensures Lightdash-controlled DBT_* values cannot be overridden.
You are affected if you are using a version that falls within the vulnerable range and you run Lightdash where users who can update a project are able to configure dbt environment variables through untrusted or externally influenced project settings.
@lightdash/common is vulnerable to OS Command Injection in versions 0.0.1 - 1.93.1.
Upgrade the @lightdash/common library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant