Skip to main content

Trigger.dev Self-Hosted Deployment: Default Secrets allow Unauthenticated Infrastructure Compromise

0
High
Published: 10/02/2026 (10/02/2026, 22:39:48 UTC)
Source: GCVE Database
Product: trigger.dev

Description

Self-hosted trigger.dev version 4 instances deployed with the default Docker Compose configuration using hardcoded secrets in the provided .env.example file are vulnerable to unauthenticated attacks. The MAGIC_LINK_SECRET allows attackers to forge authentication tokens and gain access as any user without email verification. This leads to automatic user creation and full access to infrastructure services including the database, Redis, and ClickHouse, all of which use default or no authentication. The vulnerability enables complete infrastructure compromise, including tenant data, API keys, encrypted secrets, and job queue manipulation.

CVSS v4.0

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P

Affected software

npmghsa
trigger.dev
Affected versions
<4.5.6

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:40:43 UTC

Technical Analysis

The trigger.dev self-hosted deployment using version 4 and the default Docker Compose setup with secrets from hosting/docker/.env.example is vulnerable due to hardcoded cryptographic secrets. The MAGIC_LINK_SECRET is used by [email protected] for AES encryption of authentication tokens. Since the secret is known and session validation is disabled by default, attackers can forge magic link tokens to authenticate as any email address without email delivery. User accounts are auto-created when WHITELISTED_EMAILS is unset. The infrastructure services (Postgres, Redis, ClickHouse) use default or no authentication and are accessible from runner containers on the infrastructure network. This chain of issues results in complete infrastructure compromise, including data access, secret decryption, and potential manipulation of job queues and Docker images.

Potential Impact

An attacker can gain unauthenticated access to the trigger.dev self-hosted instance by forging magic link tokens, leading to automatic user creation and session hijacking. This access extends to infrastructure services such as Postgres, Redis, and ClickHouse, which have default or no authentication, allowing full data access and manipulation. The attacker can decrypt encrypted secrets using the known ENCRYPTION_KEY, access all tenant data and API keys, and potentially push backdoored Docker images and manipulate job queues. The overall impact is complete infrastructure compromise.

Mitigation Recommendations

A patch is available for this vulnerability. Users should update trigger.dev to version 4.5.6 or later where this issue is fixed. Additionally, avoid deploying with default secrets from hosting/docker/.env.example. Replace all hardcoded secrets with unique, strong secrets and configure authentication for infrastructure services such as Redis and Postgres. Restrict network access to infrastructure containers and enable session validation features if applicable.

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-pqxw-g93w-hj9x
Osv Schema Version
1.4.0
Ecosystems
["npm"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6ac139b2a43b0b3b89d69af7

Added to database: 10/03/2026, 17:21:54 UTC

Last enriched: 10/03/2026, 17:40:43 UTC

Last updated: 10/04/2026, 02:51:13 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