Trigger.dev: Missing Authentication in Run Replay Action Allows Cross-Organization Task Execution (IDOR)
Trigger.dev contains an insecure direct object reference (IDOR) vulnerability in the run replay action function where no authentication or authorization checks are performed. This allows any authenticated user to replay task runs from any organization by knowing the run's friendlyId. A similar issue exists in the batch completion action, enabling unauthorized triggering of batch completions. The vulnerability enables cross-organization task execution with victim environment secrets, resource consumption, and potential data integrity issues. Patch is available.
AI Analysis
Technical Summary
The run replay action function in Trigger.dev's webapp (apps/webapp/app/routes/resources.taskruns.$runParam.replay.ts) lacks authentication and authorization checks, unlike the corresponding loader function. The action queries task runs by friendlyId without scoping to the user's organization or verifying user identity, allowing any authenticated user to replay task runs from other organizations. The replayed tasks execute with the victim's environment variables and secrets. A similar authentication omission exists in the batch completion action, allowing unauthorized batch completion triggers. The friendlyId values are short and enumerable, facilitating exploitation. This vulnerability is classified as CWE-862 (Missing Authorization).
Potential Impact
An attacker with any valid user session can replay task runs belonging to other organizations, causing execution of tasks in the victim's environment with access to sensitive environment variables such as API keys and database credentials. This leads to secret exposure and unauthorized resource consumption under the victim's quota. Additionally, unauthorized batch completion triggers can disrupt data integrity by prematurely resuming dependent tasks. The vulnerability has low attack complexity due to predictable friendlyId values.
Mitigation Recommendations
A patch is available for this vulnerability. Users should update to a fixed version at or beyond 4.5.2 where authentication and authorization checks are enforced on the run replay and batch completion actions. Until patched, restrict access to the affected endpoints and monitor for unauthorized task replay or batch completion activity.
Trigger.dev: Missing Authentication in Run Replay Action Allows Cross-Organization Task Execution (IDOR)
Description
Trigger.dev contains an insecure direct object reference (IDOR) vulnerability in the run replay action function where no authentication or authorization checks are performed. This allows any authenticated user to replay task runs from any organization by knowing the run's friendlyId. A similar issue exists in the batch completion action, enabling unauthorized triggering of batch completions. The vulnerability enables cross-organization task execution with victim environment secrets, resource consumption, and potential data integrity issues. Patch is available.
CVSS v3.1
Score 7.1high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The run replay action function in Trigger.dev's webapp (apps/webapp/app/routes/resources.taskruns.$runParam.replay.ts) lacks authentication and authorization checks, unlike the corresponding loader function. The action queries task runs by friendlyId without scoping to the user's organization or verifying user identity, allowing any authenticated user to replay task runs from other organizations. The replayed tasks execute with the victim's environment variables and secrets. A similar authentication omission exists in the batch completion action, allowing unauthorized batch completion triggers. The friendlyId values are short and enumerable, facilitating exploitation. This vulnerability is classified as CWE-862 (Missing Authorization).
Potential Impact
An attacker with any valid user session can replay task runs belonging to other organizations, causing execution of tasks in the victim's environment with access to sensitive environment variables such as API keys and database credentials. This leads to secret exposure and unauthorized resource consumption under the victim's quota. Additionally, unauthorized batch completion triggers can disrupt data integrity by prematurely resuming dependent tasks. The vulnerability has low attack complexity due to predictable friendlyId values.
Mitigation Recommendations
A patch is available for this vulnerability. Users should update to a fixed version at or beyond 4.5.2 where authentication and authorization checks are enforced on the run replay and batch completion actions. Until patched, restrict access to the affected endpoints and monitor for unauthorized task replay or batch completion activity.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-pp95-gc86-jq6q
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6ac139b5a43b0b3b89d69d15
Added to database: 10/03/2026, 17:21:57 UTC
Last enriched: 10/03/2026, 17:41:35 UTC
Last updated: 10/04/2026, 02:51:12 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.