Trigger.dev SQL injection and cross-tenant data exposure in realtime runs
triggerdotdev trigger.dev
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| triggerdotdev trigger.dev |
|
|
Original description
Trigger.dev before 4.5.6 contains an SQL injection vulnerability in the /realtime/v1/runs endpoint, which concatenates the unescaped tags query parameter into the ElectricSQL shape where clause and defeats the runtimeEnvironmentId tenant guard. Authenticated attackers holding any project API key with read:runs scope can append boolean conditions to stream TaskRun records, including payloads and metadata, from every organization on the same self-hosted instance.
From the CVE record · VulnCheck