Cross-Environment Deployment Cancel Vulnerability in Trigger.dev

trigger.dev Updated 03 Oct 2026

Summary

02/10/2026
MODERATE
Yes i
Moderate
5.4

GHSA-4672-hwv6-gq62: Trigger.dev: Cross-environment deployment cancel. Affects trigger.dev versions < 4.5.6. Fixed in 4.5.6. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Trigger.dev is a platform that facilitates the management of application deployments across multiple environments, such as development, staging, and production. Each environment is secured with its own secret API key, creating a trust boundary that ensures lower-trust keys cannot access higher-trust environments. However, a flaw in the deployment cancel functionality allows for unauthorized cancellation of deployments across these environments.

Vulnerability Detail

The vulnerability arises from the deployment cancel path in Trigger.dev, which does not enforce environment scoping when canceling deployments. Specifically, the method used to retrieve deployment information only checks the project ID, ignoring the environment ID. This means that a secret API key from a lower-trust environment (like development) can cancel deployments in a higher-trust environment (like production). This asymmetry poses a significant risk, as it allows unauthorized users to disrupt critical production deployments while being unable to read their status due to proper environment scoping in other API routes.

How To Fix

Latest published version: 4.7.7 as of 22 Oct 2026

npm install trigger.dev@4.7.7

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.5.6

This is the first release that contains the fix.

npm install trigger.dev@4.5.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, ensure that API keys are strictly managed and that lower-trust environment keys are not used in contexts where they could inadvertently cancel production deployments. Additionally, consider implementing additional checks in your deployment process to prevent unauthorized cancellations.

Conclusion

The cross-environment deployment cancel vulnerability in Trigger.dev poses a significant risk by allowing unauthorized cancellation of production deployments using lower-trust environment keys. It is crucial to update to the patched version 4.5.6 to mitigate this risk and ensure the security of your deployment processes.

See every vulnerability recorded for trigger.dev →

Share this vulnerability

FAQ

The vulnerability allows a lower-trust environment key to cancel deployments in a higher-trust environment, such as production.

You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground.

The CVSS score of this vulnerability is 5.4, indicating a moderate severity level.

Yes, a patch is available in version 4.5.6 of the Trigger.dev package. Updating to this version will resolve the issue.

If immediate updates are not possible, implement strict API key management and consider additional checks to prevent unauthorized cancellations.

Related vulnerabilities

Recent vulnerabilities recorded for trigger.dev.

How To Fix

Latest published version: 4.7.7 as of 22 Oct 2026

npm install trigger.dev@4.7.7

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.5.6

This is the first release that contains the fix.

npm install trigger.dev@4.5.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback