Trigger.dev SQL injection in TSQL window functions
triggerdotdev trigger.dev
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| trigger.dev npm |
|
|
Original 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.
From the CVE record · VulnCheck