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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| triggerdotdev | trigger.dev | < 4.5.6 | 4.5.6 |
References
- GitHub Security Advisory (GHSA-p6j2-2fjh-vc8v) vendor-advisory
- VulnCheck Advisory: Trigger.dev before 4.5.6 SQL Injection via tags in Realtime Runs API third-party-advisory