Skip to main content

Trigger.dev: Missing Authentication in Run Replay Action Allows Cross-Organization Task Execution (IDOR)

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

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N

Affected software

npmghsa
trigger.dev
Affected versions
<4.5.2

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:41:35 UTC

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.

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-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 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