Skip to main content

Trigger.dev CVE-2026-114069

| EUVDEUVD-2026-107020 HIGH
Improper Privilege Management (CWE-269)
2026-10-21 VulnCheck GHSA-8jgj-f949-3f8m
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain restricted read:envvars API key
  2. Delivery
    Call GET /api/v1/projects/:ref/envvars
  3. Exploit
    Receive root TRIGGER_SECRET_KEY and plaintext secrets
  4. Execution
    Mint admin public JWTs
  5. Impact
    Trigger arbitrary tasks with full privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to possess a valid but restricted 'read:envvars' scoped API key for the target Trigger.dev instance, and to call the specific GET /api/v1/projects/:projectRef/envvars endpoint against a staging, production, or preview environment (these three environment types are explicitly affected). The limiting factor is this key requirement (PR:L) - it is not anonymous exploitation; an attacker with no credentials at all cannot trigger it. However, the authorization boundary that is supposed to restrict such keys to read-only envvar access fails, so no special or non-default configuration is needed beyond having the scoped key and running a version before 4.6.0.

Impact

This is a genuine priority, not a high-CVSS-but-low-real-risk issue. The vendor-assigned CVSS 4.0 score of 8.6 is supported by a coherent vector: network attack vector (AV:N), low complexity (AC:L), no attack requirements (AT:N), no user interaction (UI:N), and only low privileges required (PR:L) - meaning any holder of a legitimately-issued restricted read:envvars key can exploit it. The impact is severe and credible: high confidentiality (VC:H) because the root TRIGGER_SECRET_KEY and plaintext secrets are disclosed, and high integrity (VI:H) because that root key lets the attacker trigger tasks and mint admin public JWTs - a classic privilege escalation (CWE-269) from a scoped token to full control. No EPSS score, CISA KEV listing, or public POC was provided in the input, so exploitation is not confirmed to be occurring in the wild; the risk is driven by severity and ease, not by evidence of mass exploitation. The one tempering factor is the PR:L prerequisite: the attacker must already possess a valid restricted API key, so this is an insider/privilege-boundary-failure scenario or a follow-on from a leaked scoped key rather than fully anonymous internet-wide exploitation. Availability impact is correctly rated none (VA:N).

Exploit ScenarioDerived

An attacker (a low-privilege team member, compromised CI pipeline, or holder of a leaked restricted read:envvars API key) calls GET /api/v1/projects/:projectRef/envvars against a staging, production, or preview environment. The endpoint improperly returns the environment's root TRIGGER_SECRET_KEY plus plaintext secrets, which the attacker then uses to trigger arbitrary tasks and mint admin-level public JWTs. No public exploit code was identified in the provided data, but the attack requires only a single standard API request.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 21, 2026

Trigger.dev before 4.6.0 exposes each environment's root TRIGGER_SECRET_KEY and other plaintext secrets through the GET /api/v1/projects/:projectRef/envvars endpoint, so an attacker holding a restricted read:envvars API key can escalate beyond that key's intended read-only scope. The affected environments are staging, production, and preview, and successful exploitation lets the attacker trigger tasks and mint admin public JWTs; exploitation requires a valid scoped key rather than anonymous access. This is a genuine priority rather than a high-score/low-real-risk issue, and no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade Trigger.dev to 4.6.0 or later; consult the vendor advisory at https://github.com/triggerdotdev/trigger.dev/security/advisories/GHSA-4gjx-f5hj-678x and the VulnCheck advisory at https://www.vulncheck.com/advisories/trigger-dev-before-4.6.0-root-secret-disclosure-via-envvars-api-endpoint. If upgrading cannot be done immediately, treat all staging, production, and preview environment root TRIGGER_SECRET_KEY values and any plaintext secrets returned by the envvars endpoint as compromised and rotate them; the trade-off is that dependent task runners and integrations must be updated with the new secrets. Also revoke or tightly restrict API keys carrying read:envvars until the patch is applied, accepting that legitimate envvar automation will break, and consider blocking or alerting on GET /api/v1/projects/:projectRef/envvars at a reverse proxy or WAF for low-privilege keys, with the caveat that this can disrupt legitimate read-only workflows.

Affected VersionsENISA

trigger.dev 0 <4.6.0

Affected Packages

euvd trigger_dev fix: 4.6.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Trigger.dev is a task/workflow platform whose project-scoped API uses environment API keys, including a root secret surfaced to tasks as TRIGGER_SECRET_KEY. The vulnerable GET /api/v1/projects/:projectRef/envvars endpoint is meant to return environment variables to callers authorized with the read:envvars scope, but CWE-269 improper privilege management causes it to include the higher-privileged root TRIGGER_SECRET_KEY and plaintext secrets in the response instead of redacting them. The CVSS vector carries PR:L, confirming that a low-privileged authenticated holder of a restricted read:envvars key can reach the endpoint; no special configuration is required beyond that key and a version before 4.6.0. With the leaked root secret, the attacker can act outside the read:envvars scope by triggering tasks and minting admin public JWTs, turning a limited read capability into environment-level control for staging, production, and preview environments.

Know when Trigger Dev gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

A valid restricted API key is required (PR:L) over the network with no user interaction or added complexity; disclosure of root secrets gives high confidentiality and the resulting task-triggering/JWT-minting gives high integrity, with no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 21, 2026 - 02:01 EUVD
CVE Published
Oct 21, 2026 - 00:36 cve.org
HIGH 8.6

DescriptionCVE.org

Trigger.dev before 4.6.0 contains an improper authorization vulnerability in the GET /api/v1/projects/:projectRef/envvars endpoint, which returns the environment's root API key as TRIGGER_SECRET_KEY for staging, production, and preview environments. Attackers holding a restricted read:envvars key can obtain the root secret and plaintext secrets, then trigger tasks and mint admin public JWTs.

Technical POC Analysis

CWE-269 (Improper Privilege Management), secondarily CWE-863.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Trigger.dev deployments earlier than 4.6.0 can expose the root environment secret key and other plaintext credentials for staging, production and preview to any holder of a narrowly scoped read-only API key, converting a low-privilege integration credential into control over task execution and the ability to mint admin-level tokens. Because the leaked material is the environment root key rather than a single scoped secret, one over-provisioned or compromised key can undermine every environment the organization operates on the platform, so the exposure is a credential-compromise event affecting production integrity rather than a routine dependency update. Remediation currently rests on version upgrade and key rotation, which means the security team needs engineering cooperation on a short timeline.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: rotate TRIGGER_SECRET_KEY and all derived secrets across staging, production and preview; revoke or tightly re-scope every read:envvars API key; block or gateway-restrict GET /api/v1/projects/:projectRef/envvars for instances that cannot yet move to 4.6.0; monitor for unexpected task triggers and admin JWT minting; and migrate platform secrets into a managed vault with short-lived credentials.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Low
niche open-source background-task/orchestration platform for developers
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy