CVE-2026-73657: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in triggerdotdev trigger.dev
Trigger.dev is a platform for building and deploying fully managed AI agents and workflows. From 4.4.2 until 4.5.0-rc.4, `POST /api/v1/runs/:runParam/replay` in apps/webapp/app/routes/api.v1.runs.$runParam.replay.ts uses `prisma.taskRun.findUnique({ where: { friendlyId: runParam } })` without a runtimeEnvironmentId filter, then ReplayTaskRunService in apps/webapp/app/v3/services/replayTaskRun.server.ts replays the selected run in the victim environment. Any valid environment API key can therefore replay another tenant's run by friendlyId, consuming victim resources and repeating side effects; when `payloadType: "application/store"` is used, overrideExistingPayloadPacket() calls conditionallyImportPacket() on existingTaskRun.payload without an integrity check, so payload bytes overwritten through a separate object-store path-traversal vulnerability become attacker-controlled input to the victim task. This issue is fixed in version 4.5.0-rc.4.
AI Analysis
Technical Summary
Trigger.dev's API endpoint POST /api/v1/runs/:runParam/replay in versions 4.4.2 through 4.5.0-rc.4 lacks a runtimeEnvironmentId filter when querying task runs by friendlyId, enabling any valid environment API key to replay runs belonging to other tenants. This can lead to unauthorized resource consumption and repeated side effects. Furthermore, when the payloadType is "application/store", the function overrideExistingPayloadPacket() calls conditionallyImportPacket() on existingTaskRun.payload without verifying integrity, allowing attacker-controlled payload bytes to be injected via a separate object-store path traversal vulnerability. The vulnerability is addressed in version 4.5.0-rc.4.
Potential Impact
An attacker with a valid environment API key can replay task runs belonging to other tenants, causing unauthorized consumption of resources and repeated execution of side effects. The lack of integrity checks on payload data when using "application/store" payloadType allows injection of attacker-controlled input into victim tasks, potentially leading to further compromise or disruption. The CVSS score of 4.2 reflects a medium severity impact with no confidentiality loss but integrity and availability impacts.
Mitigation Recommendations
This vulnerability is fixed in trigger.dev version 4.5.0-rc.4. Users should upgrade to version 4.5.0-rc.4 or later to remediate the issue. Patch status is not explicitly confirmed beyond this fix version; check the vendor advisory for the latest remediation guidance.
CVE-2026-73657: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in triggerdotdev trigger.dev
Description
Trigger.dev is a platform for building and deploying fully managed AI agents and workflows. From 4.4.2 until 4.5.0-rc.4, `POST /api/v1/runs/:runParam/replay` in apps/webapp/app/routes/api.v1.runs.$runParam.replay.ts uses `prisma.taskRun.findUnique({ where: { friendlyId: runParam } })` without a runtimeEnvironmentId filter, then ReplayTaskRunService in apps/webapp/app/v3/services/replayTaskRun.server.ts replays the selected run in the victim environment. Any valid environment API key can therefore replay another tenant's run by friendlyId, consuming victim resources and repeating side effects; when `payloadType: "application/store"` is used, overrideExistingPayloadPacket() calls conditionallyImportPacket() on existingTaskRun.payload without an integrity check, so payload bytes overwritten through a separate object-store path-traversal vulnerability become attacker-controlled input to the victim task. This issue is fixed in version 4.5.0-rc.4.
CVSS v3.1
Score 4.2medium
Affected software
triggerdotdev
trigger.dev
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
Technical Analysis
Trigger.dev's API endpoint POST /api/v1/runs/:runParam/replay in versions 4.4.2 through 4.5.0-rc.4 lacks a runtimeEnvironmentId filter when querying task runs by friendlyId, enabling any valid environment API key to replay runs belonging to other tenants. This can lead to unauthorized resource consumption and repeated side effects. Furthermore, when the payloadType is "application/store", the function overrideExistingPayloadPacket() calls conditionallyImportPacket() on existingTaskRun.payload without verifying integrity, allowing attacker-controlled payload bytes to be injected via a separate object-store path traversal vulnerability. The vulnerability is addressed in version 4.5.0-rc.4.
Potential Impact
An attacker with a valid environment API key can replay task runs belonging to other tenants, causing unauthorized consumption of resources and repeated execution of side effects. The lack of integrity checks on payload data when using "application/store" payloadType allows injection of attacker-controlled input into victim tasks, potentially leading to further compromise or disruption. The CVSS score of 4.2 reflects a medium severity impact with no confidentiality loss but integrity and availability impacts.
Mitigation Recommendations
This vulnerability is fixed in trigger.dev version 4.5.0-rc.4. Users should upgrade to version 4.5.0-rc.4 or later to remediate the issue. Patch status is not explicitly confirmed beyond this fix version; check the vendor advisory for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-13T14:04:09.605Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7e3a17bf8831d539d70439
Added to database: 08/13/2026, 21:41:43 UTC
Last enriched: 08/21/2026, 13:15:34 UTC
Last updated: 09/27/2026, 01:47:44 UTC
Views: 62
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.