Skip to main content

Trigger.dev: Trigger CLI debug deployment logs expose resolved environment secret values

0
Medium
Published: 10/02/2026 (10/02/2026, 22:45:12 UTC)
Source: GCVE Database
Product: trigger.dev

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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected software

npmghsa
trigger.dev
Affected versions
<4.5.9

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/03/2026, 17:39:58 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses