Trigger.dev root API key exposure in environment variables endpoint
triggerdotdev trigger.dev
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| triggerdotdev trigger.dev |
|
|
Original 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.
From the CVE record · VulnCheck