Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. trigger.dev
  4. ›
  5. GHSA-fj2x-mqqp-3v2w

GHSA-fj2x-mqqp-3v2w: Trigger.dev: Trigger CLI debug deployment logs expose resolved environment secret values

October 2, 2026

Affected version: trigger.dev 4.5.3 (4.5.6 was advertised by the CLI but was not tested).

A staging dry-run executed with trigger.dev deploy --env staging --dry-run --log-level debug. The debug output logged the complete build-worker options object. Its envVars property contained unredacted values for every resolved staging variable, including database connection strings and service credentials. The non-debug environment listing correctly hides values, so users can reasonably expect deployment logs not to print secrets.

Impact: anyone with access to a developer terminal transcript, CI debug log, captured agent/tool output, or support bundle can recover deployment secrets even though no deployment occurs.

Reproduction:

  1. Configure a Trigger.dev project with a secret environment variable.
  2. Run the command above with an authenticated profile.
  3. Inspect the Starting buildWorker debug record.
  4. options.envVars contains the plaintext value.

No real credential is included in this report. The observed customer credentials are being rotated separately.

Suggested remediation: never serialize envVars values in debug output; log names only or replace every value with a fixed marker. Add regression coverage for deploy, dry-run, and debug logging, and review adjacent debug records for resolved secrets.

References

  • github.com/advisories/GHSA-fj2x-mqqp-3v2w
  • github.com/triggerdotdev/trigger.dev/commit/878c15811aca8339a751aa0c2211012db7a47ce5
  • github.com/triggerdotdev/trigger.dev/pull/4420
  • github.com/triggerdotdev/trigger.dev/releases/tag/v4.5.9
  • github.com/triggerdotdev/trigger.dev/security/advisories/GHSA-fj2x-mqqp-3v2w

Code Behaviors & Features

Detect and mitigate GHSA-fj2x-mqqp-3v2w with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.5.9

Fixed versions

  • 4.5.9

Solution

Upgrade to version 4.5.9 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-532: Insertion of Sensitive Information into Log File

Source file

npm/trigger.dev/GHSA-fj2x-mqqp-3v2w.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 03 Oct 2026 12:17:47 +0000.