Description
Trigger.dev before 4.6.0 contains an improper authorization vulnerability in the GET /api/v1/projects/:projectRef/envvars endpoint, which returns the environment's root API key as TRIGGER_SECRET_KEY for staging, production, and preview environments. Attackers holding a restricted read:envvars key can obtain the root secret and plaintext secrets, then trigger tasks and mint admin public JWTs.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| triggerdotdev | trigger.dev | < 4.6.0 | 4.6.0 |
References
- GitHub Security Advisory (GHSA-4gjx-f5hj-678x) vendor-advisory
- VulnCheck Advisory: Trigger.dev before 4.6.0 Root Secret Disclosure via envvars API Endpoint third-party-advisory