Trigger.dev: Unauthenticated Realtime Stream Data Injection via Run FriendlyId
Trigger.dev versions prior to 4.5.5 have an unauthenticated POST endpoint allowing arbitrary data injection into realtime streams by anyone who knows or can guess a run friendlyId. The endpoint lacks authentication and environment scoping, enabling cross-environment access. This vulnerability has a medium severity with a CVSS score of 5.3.
AI Analysis
Technical Summary
The POST handler at /realtime/v1/streams/:runId/:streamId in Trigger.dev lacks authentication and environment scoping. The run lookup uses only the friendlyId without checking runtimeEnvironmentId, allowing unauthenticated entities to inject arbitrary data into realtime streams of any run, including production runs. Run friendlyIds follow predictable patterns, making guessing feasible. This issue affects versions prior to 4.5.5.
Potential Impact
An attacker can inject arbitrary data into any run's realtime stream without authentication, potentially disrupting or manipulating realtime data flows. The lack of environment scoping allows cross-environment access, increasing the risk of affecting production data streams. There is no confidentiality or availability impact reported, but integrity of realtime stream data is compromised.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade to version 4.5.5 or later to ensure authentication is enforced and environment scoping is applied to the realtime stream POST handler. Until patched, restrict access to the endpoint and monitor for unauthorized data injection if possible.
Trigger.dev: Unauthenticated Realtime Stream Data Injection via Run FriendlyId
Description
Trigger.dev versions prior to 4.5.5 have an unauthenticated POST endpoint allowing arbitrary data injection into realtime streams by anyone who knows or can guess a run friendlyId. The endpoint lacks authentication and environment scoping, enabling cross-environment access. This vulnerability has a medium severity with a CVSS score of 5.3.
CVSS v3.1
Score 5.3medium
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 POST handler at /realtime/v1/streams/:runId/:streamId in Trigger.dev lacks authentication and environment scoping. The run lookup uses only the friendlyId without checking runtimeEnvironmentId, allowing unauthenticated entities to inject arbitrary data into realtime streams of any run, including production runs. Run friendlyIds follow predictable patterns, making guessing feasible. This issue affects versions prior to 4.5.5.
Potential Impact
An attacker can inject arbitrary data into any run's realtime stream without authentication, potentially disrupting or manipulating realtime data flows. The lack of environment scoping allows cross-environment access, increasing the risk of affecting production data streams. There is no confidentiality or availability impact reported, but integrity of realtime stream data is compromised.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade to version 4.5.5 or later to ensure authentication is enforced and environment scoping is applied to the realtime stream POST handler. Until patched, restrict access to the endpoint and monitor for unauthorized data injection if possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-59h8-w5q6-mfmp
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["npm"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6ac139b2a43b0b3b89d69afa
Added to database: 10/03/2026, 17:21:54 UTC
Last enriched: 10/03/2026, 17:40:53 UTC
Last updated: 10/04/2026, 02:51:15 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.