Trigger.dev
Trigger.dev: Cross-project deployment worker registration can modify another project's deployment state
Trigger.dev is a platform for building and deploying fully managed AI agents and workflows. Prior to 4.5.6, POST /api/v1/deployments/:deploymentId/background-workers calls CreateDeploymentBackgroundWorkerServiceV4.call() in apps/webapp/app/v3/services/createDeploymentBackgroundWorkerV4.server.ts, where workerDeployment.findFirst() selects a deployment by friendlyId without an environmentId predicate. A caller with a valid API key for one project can submit another project's deployment identifier, link an attacker-owned background worker to the victim deployment, and move the victim deployment from BUILDING to DEPLOYING. This issue is fixed in version 4.5.6.
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.