Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain restricted read:envvars API key
-
DeliveryCall GET /api/v1/projects/:ref/envvars
-
ExploitReceive root TRIGGER_SECRET_KEY and plaintext secrets
-
ExecutionMint admin public JWTs
-
ImpactTrigger 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Related Vulnerabilities in Trigger.dev Authorization and Injection Flaws
View all 29More in Trigger Dev
View allPrototype pollution in Trigger.dev's run metadata API (versions 3.3.8 through 4.5.5) lets any authenticated tenant corru
Cross-tenant authorization bypass in Trigger.dev before 4.5.6 lets a caller holding a valid API key for one project act
Missing authorization on the run replay API endpoint in Trigger.dev before 4.5.2 allows authenticated attackers to injec
Cross-tenant path traversal in Trigger.dev versions 4.4.2 through pre-4.5.0-rc.5 allows any authenticated tenant holding
EUVD-2026-107020
GHSA-8jgj-f949-3f8m
NVD
CVE.org
EPSS
Exploit-DB