Trigger.dev: Cross-environment deployment cancel
Trigger.dev has a vulnerability where the deployment cancel operation is scoped only by project ID and not by environment ID. This allows an API key for a lower-trust environment (e.g., dev) to cancel deployments in higher-trust environments (e.g., production) within the same project. The deployment GET route correctly enforces environment scoping, but the cancel route does not, creating an authorization bypass. This affects both self-hosted and cloud deployments of Trigger.dev prior to version 4.5.6.
AI Analysis
Technical Summary
Trigger.dev isolates projects into multiple environments, each with its own secret API key and trust boundary. Most API routes enforce environment scoping by filtering resource lookups with the authenticated environment ID. However, the deployment cancel operation uses a lookup scoped only by project ID, ignoring the environment ID. Consequently, an API key for any environment within a project can cancel deployments in any other environment of the same project, including production. The deployment GET route correctly scopes by environment and denies access to unauthorized environments, but the cancel route allows cancellation despite this. This asymmetry is a security bug. The vulnerability was demonstrated with a proof-of-concept where a dev environment key canceled a production deployment it could not read. The issue affects Trigger.dev versions prior to 4.5.6 and impacts both self-hosted and cloud instances.
Potential Impact
An attacker or user with access to a lower-trust environment API key (e.g., dev or preview) within a project can cancel in-progress deployments in higher-trust environments (e.g., production) of the same project. This could disrupt production deployments without proper authorization. The vulnerability does not allow reading or modifying deployment details beyond cancellation, and cross-project cancellation is not possible. There is no indication of data confidentiality loss, but availability and integrity of deployment processes are impacted.
Mitigation Recommendations
A patch is available for this vulnerability as indicated by the vendor. Users should upgrade to version 4.5.6 or later where the deployment cancel operation is correctly scoped by environment ID. Until patched, avoid using lower-trust environment keys in contexts where they could be abused to cancel production deployments. Review API key permissions and environment isolation policies. Since this affects self-hosted and cloud deployments, self-hosted users must apply the update; cloud users should verify with the vendor if the service has been updated.
Trigger.dev: Cross-environment deployment cancel
Description
Trigger.dev has a vulnerability where the deployment cancel operation is scoped only by project ID and not by environment ID. This allows an API key for a lower-trust environment (e.g., dev) to cancel deployments in higher-trust environments (e.g., production) within the same project. The deployment GET route correctly enforces environment scoping, but the cancel route does not, creating an authorization bypass. This affects both self-hosted and cloud deployments of Trigger.dev prior to version 4.5.6.
CVSS v3.1
Score 5.4medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Trigger.dev isolates projects into multiple environments, each with its own secret API key and trust boundary. Most API routes enforce environment scoping by filtering resource lookups with the authenticated environment ID. However, the deployment cancel operation uses a lookup scoped only by project ID, ignoring the environment ID. Consequently, an API key for any environment within a project can cancel deployments in any other environment of the same project, including production. The deployment GET route correctly scopes by environment and denies access to unauthorized environments, but the cancel route allows cancellation despite this. This asymmetry is a security bug. The vulnerability was demonstrated with a proof-of-concept where a dev environment key canceled a production deployment it could not read. The issue affects Trigger.dev versions prior to 4.5.6 and impacts both self-hosted and cloud instances.
Potential Impact
An attacker or user with access to a lower-trust environment API key (e.g., dev or preview) within a project can cancel in-progress deployments in higher-trust environments (e.g., production) of the same project. This could disrupt production deployments without proper authorization. The vulnerability does not allow reading or modifying deployment details beyond cancellation, and cross-project cancellation is not possible. There is no indication of data confidentiality loss, but availability and integrity of deployment processes are impacted.
Mitigation Recommendations
A patch is available for this vulnerability as indicated by the vendor. Users should upgrade to version 4.5.6 or later where the deployment cancel operation is correctly scoped by environment ID. Until patched, avoid using lower-trust environment keys in contexts where they could be abused to cancel production deployments. Review API key permissions and environment isolation policies. Since this affects self-hosted and cloud deployments, self-hosted users must apply the update; cloud users should verify with the vendor if the service has been updated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4672-hwv6-gq62
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["npm"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6ac139b2a43b0b3b89d69af5
Added to database: 10/03/2026, 17:21:54 UTC
Last enriched: 10/03/2026, 17:40:34 UTC
Last updated: 10/04/2026, 02:51:10 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.