Trigger.dev
Trigger.dev: Account Takeover via Cross-Provider OAuth Email Matching in Google Login
Trigger.dev is a platform for building and deploying fully managed AI agents and workflows. Prior to 4.5.2, addGoogleStrategy() in apps/webapp/app/services/googleAuth.server.ts passes a Google profile email to findOrCreateGoogleUser() in apps/webapp/app/models/user.server.ts without requiring Google's email_verified assertion. When existingEmailUser && !existingUser is true, the flow writes the new Google authIdentifier into the existing email-matched account and returns that user object, allowing an attacker-controlled Google profile with an unverified matching email to take over the account. This issue is fixed in version 4.5.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.5.2
Fixed in 4.5.2
Mitigation
Upgrade trigger.dev to 4.5.2 or later.
References
- Vendor advisory github.com/triggerdotdev/trigger.dev/security/…
- Patch github.com/triggerdotdev/trigger.dev/pull/4199
- Patch github.com/triggerdotdev/trigger.dev/commit/34…
1 more
- Release notes github.com/triggerdotdev/trigger.dev/releases/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.