Description
Trigger.dev before 4.5.6 contains an SQL injection vulnerability in the TSQL query compiler, which concatenates window-function names into generated ClickHouse SQL without allowlisting or escaping. Authenticated customers can submit a backtick-quoted identifier to POST /api/v1/query that injects a raw subquery outside the per-tenant WHERE guard, exfiltrating other organizations' analytics data.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| triggerdotdev | trigger.dev | < 4.5.6 | 4.5.6 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | trigger.dev | < 4.5.6 | 4.5.6 | GHSA-9q4r-4842-93vw |
References
- GitHub Security Advisory (GHSA-9q4r-4842-93vw) vendor-advisory
- VulnCheck Advisory: Trigger.dev before 4.5.6 Cross-Tenant SQL Injection via TSQL Window-Function Name third-party-advisory