Trigger.dev: Trigger CLI debug deployment logs expose resolved environment secret values
Trigger.dev version 4.5.3 and earlier versions prior to 4.5.9 have a vulnerability where debug deployment logs expose resolved environment secret values in plaintext. When running a dry-run deployment with debug logging enabled, the complete environment variables including secrets such as database connection strings and service credentials are logged unredacted. This exposure occurs even though no actual deployment takes place. The issue allows anyone with access to debug logs or terminal transcripts to recover sensitive deployment secrets.
AI Analysis
Technical Summary
In Trigger.dev versions before 4.5.9, executing a dry-run deployment with debug logging enabled (`trigger.dev deploy --env staging --dry-run --log-level debug`) causes the CLI to log the full build-worker options object, including the `envVars` property containing plaintext secret environment variable values. This behavior leaks sensitive information such as database connection strings and service credentials in debug output, contrary to the expected behavior where environment variable values are hidden. The vulnerability arises from serializing and logging secret values instead of only their names or masked placeholders. No active exploitation is reported, and the issue affects local CLI usage rather than a cloud service.
Potential Impact
The vulnerability exposes sensitive environment secrets in debug deployment logs, which can be accessed by anyone with access to developer terminal transcripts, CI debug logs, captured agent/tool outputs, or support bundles. This exposure can lead to unauthorized disclosure of database credentials and service secrets, potentially compromising system confidentiality. However, no integrity or availability impact is indicated, and no known exploits are currently in the wild.
Mitigation Recommendations
A patch is available that prevents serialization of secret environment variable values in debug output. Users should upgrade to version 4.5.9 or later where this issue is fixed. Until patched, avoid running deployments with debug logging enabled in environments containing sensitive secrets. The vendor recommends logging only environment variable names or replacing secret values with fixed markers in debug logs. Additionally, regression tests should be added to prevent recurrence.
Trigger.dev: Trigger CLI debug deployment logs expose resolved environment secret values
Description
Trigger.dev version 4.5.3 and earlier versions prior to 4.5.9 have a vulnerability where debug deployment logs expose resolved environment secret values in plaintext. When running a dry-run deployment with debug logging enabled, the complete environment variables including secrets such as database connection strings and service credentials are logged unredacted. This exposure occurs even though no actual deployment takes place. The issue allows anyone with access to debug logs or terminal transcripts to recover sensitive deployment secrets.
CVSS v3.1
Score 5.5medium
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
In Trigger.dev versions before 4.5.9, executing a dry-run deployment with debug logging enabled (`trigger.dev deploy --env staging --dry-run --log-level debug`) causes the CLI to log the full build-worker options object, including the `envVars` property containing plaintext secret environment variable values. This behavior leaks sensitive information such as database connection strings and service credentials in debug output, contrary to the expected behavior where environment variable values are hidden. The vulnerability arises from serializing and logging secret values instead of only their names or masked placeholders. No active exploitation is reported, and the issue affects local CLI usage rather than a cloud service.
Potential Impact
The vulnerability exposes sensitive environment secrets in debug deployment logs, which can be accessed by anyone with access to developer terminal transcripts, CI debug logs, captured agent/tool outputs, or support bundles. This exposure can lead to unauthorized disclosure of database credentials and service secrets, potentially compromising system confidentiality. However, no integrity or availability impact is indicated, and no known exploits are currently in the wild.
Mitigation Recommendations
A patch is available that prevents serialization of secret environment variable values in debug output. Users should upgrade to version 4.5.9 or later where this issue is fixed. Until patched, avoid running deployments with debug logging enabled in environments containing sensitive secrets. The vendor recommends logging only environment variable names or replacing secret values with fixed markers in debug logs. Additionally, regression tests should be added to prevent recurrence.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fj2x-mqqp-3v2w
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["npm"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6ac139aea43b0b3b89d69aeb
Added to database: 10/03/2026, 17:21:50 UTC
Last enriched: 10/03/2026, 17:39:58 UTC
Last updated: 10/04/2026, 02:26:22 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.