Description
Trigger.dev before 4.5.2 contains a cross-site request forgery vulnerability in the CLI authorization-code flow because loading /account/authorization-code/<code> mints a Personal Access Token without any consent step. Attackers mint an unauthenticated code, lure a logged-in user to that URL, then retrieve the victim's PAT from the unauthenticated /api/v1/token endpoint to take over the account.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| triggerdotdev | trigger.dev | < 4.5.2 | 4.5.2 |
References
- GitHub Security Advisory (GHSA-58mc-m3qq-6qrh) vendor-advisory
- VulnCheck Advisory: Trigger.dev before 4.5.2 CLI Auth-Code Phishing Leading to PAT Takeover third-party-advisory