Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessMint unauthenticated CLI authorization code
-
DeliveryPhish logged-in user to code URL
-
ExploitPAT silently minted without consent
-
ExecutionRetrieve PAT from unauthenticated token endpoint
-
ImpactHijack victim's account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the victim be an authenticated Trigger.dev user with an active logged-in session who is then lured into loading the attacker-crafted /account/authorization-code/<code> URL (UI:P passive interaction). The root conditions are two design defects present in default behavior before version 4.5.2: the authorization-code flow mints a Personal Access Token with no consent/confirmation step, and the /api/v1/token endpoint returns that PAT without authentication. The attacker needs no credentials or privileges (PR:N). Limiting factors: the attack fails if the target is not currently logged in, if the user does not open the malicious link, or if the instance is already upgraded to 4.5.2 or later; no special non-default configuration is required otherwise. |
| Impact | This is a genuine, high-priority CSRF-to-account-takeover flaw rather than an inflated high-CVSS issue. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H) is internally consistent with the description: a network-reachable, low-complexity attack requiring no attacker privileges (PR:N), with the only barrier being passive user interaction (UI:P) - the victim must be a logged-in Trigger.dev user who visits an attacker-supplied URL. The full compromise of confidentiality, integrity and availability (VC/VI/VA:H) is justified because stealing the Personal Access Token yields complete account takeover. No EPSS score, SSVC decision data, or CISA KEV entry was supplied in the input, and no public exploit is referenced, so exploitation-probability signals cannot be cross-referenced - the 8.7 severity is driven entirely by impact and ease, not by evidence of real-world weaponization. The design flaw (token minted with no consent step, retrievable from an unauthenticated endpoint) is simple enough that exploit development is trivial, which should weigh toward prompt patching despite the absence of EPSS/KEV data. Key gap: no deployment-scale or active-exploitation data is available to confirm whether this is being targeted. |
| Exploit ScenarioDerived | An attacker mints an unauthenticated CLI authorization code and crafts a phishing link to /account/authorization-code/<code>, then lures a logged-in Trigger.dev user into opening it; merely loading the page silently mints a Personal Access Token with no consent prompt. The attacker then pulls that PAT from the unauthenticated /api/v1/token endpoint and uses it to take over the victim's account. No public exploit is identified at time of analysis, but the flaw is simple to reproduce from the advisory description. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 21, 2026
Cross-site request forgery in Trigger.dev before 4.5.2 lets an attacker mint a Personal Access Token for a logged-in victim and then collect it from the unauthenticated /api/v1/token endpoint, resulting in full account takeover. The flaw affects Trigger.dev deployments running versions prior to 4.5.2 and requires only that the victim have an active authenticated session and be lured into opening a crafted /account/authorization-code/<code> URL. No public exploit identified at time of analysis; the vendor advisory GHSA-58mc-m3qq-6qrh and the VulnCheck advisory provide further detail, and upgrading to 4.5.2 addresses the vulnerable flow.
RemediationAI
Vendor-released patch: Trigger.dev 4.5.2. Upgrade to 4.5.2 or later and follow the vendor advisory at https://github.com/triggerdotdev/trigger.dev/security/advisories/GHSA-58mc-m3qq-6qrh; also review and revoke any Personal Access Tokens that may have been minted unexpectedly. If immediate upgrade is not possible, restrict access to the /account/authorization-code/ and /api/v1/token paths at a reverse proxy, requiring authentication or blocking untrusted networks; the trade-off is that CLI authorization and token retrieval will fail until the upgrade is applied. The VulnCheck advisory at https://www.vulncheck.com/advisories/trigger-dev-before-4.5.2-cli-auth-code-phishing-leading-to-pat-takeover provides additional context.
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
CWE-352 (Cross-Site Request Forgery) is the root cause: Trigger.dev's CLI authorization-code flow treats a state-changing action, issuing a Personal Access Token, as a simple GET to /account/authorization-code/<code> and performs it using the victim's ambient authenticated session without a consent or confirmation step and without an anti-CSRF control. The attacker can mint an authorization code without authentication, send the victim a link to that URL, and then retrieve the resulting PAT from the unauthenticated /api/v1/token endpoint. The CPE cpe:2.3:a:triggerdotdev:trigger.dev:*:*:*:*:*:*:*:* identifies the affected application; versions before 4.5.2 are vulnerable per the advisory. The supplied CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N (score 8.7), and the independent CVSS 3.1 assessment is AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, reflecting a remote unauthenticated attacker who needs victim interaction.
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:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network CSRF needs no attacker privileges (PR:N) but requires the victim to click a link (UI:R); PAT theft yields full account takeover, so C/I/A:H with scope unchanged.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Trigger.dev before 4.5.2 contains a cross-site request forgery vulnerability in the CLI authorization-code flow because loading /account/authorization-code/<code> mints a Personal Access Token without any consent step. Attackers mint an unauthenticated code, lure a logged-in user to that URL, then retrieve the victim's PAT from the unauthenticated /api/v1/token endpoint to take over the account.
Technical POC Analysis
CWE-352 (Cross-Site Request Forgery).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A cross-site request forgery weakness in Trigger.dev (versions before 4.5.2) allows an attacker to mint a Personal Access Token for any logged-in user who opens a crafted authorization-code URL, then retrieve that token from an endpoint that requires no authentication - resulting in full account takeover. Any team using Trigger.dev to orchestrate workflows, jobs, or CI/CD pipelines should treat this as a credential-compromise risk: a single successful lure can hand an outsider the same access as the affected engineer, including secrets and deployment permissions those workflows touch. Because the attack needs only a victim with an active session and a convincing link, it is a people-dependent risk rather than an infrastructure-scanning one, and leadership should care about it in proportion to how many staff hold Trigger.dev sessions and how much pipeline authority those accounts carry.
Vendor-released patch: 4.5.2 (confirmed in advisory GHSA-58mc-m3qq-6qrh; the vulnerability feed still flags patch status as not available, so verify before rollout). Apply vendor patch. Until then, restrict or monitor the /account/authorization-code/ and /api/v1/token paths at the edge, rotate Personal Access Tokens, and force re-authentication for affected sessions.
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
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
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-106892
GHSA-4f8m-hpg5-f5x5
NVD
CVE.org
EPSS
Exploit-DB