GHSA-59h8-w5q6-mfmp: Trigger.dev: Unauthenticated Realtime Stream Data Injection via Run FriendlyId
Summary The POST handler for /realtime/v1/streams/:runId/:streamId has no authentication. Any entity that knows or guesses a run friendlyId can inject arbitrary data into its realtime stream. Vulnerability Details File: apps/webapp/app/routes/realtime.v1.streams.$runId.$streamId.ts The action handler (line 17) has no auth wrapper.
Published Oct 2, 2026
Affected packages
trigger.dev
- Ecosystem
- npm
- Affected
- <= 4.5.4
- Fixed in
- 4.5.5
- Check
npm ls trigger.dev
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
The POST handler for /realtime/v1/streams/:runId/:streamId has no authentication. Any entity that knows or guesses a run friendlyId can inject arbitrary data into its realtime stream.
Vulnerability Details
File: apps/webapp/app/routes/realtime.v1.streams.$runId.$streamId.ts
The action handler (line 17) has no auth wrapper. The code comment says: "Plain action for backwards compatibility with older clients that don't send auth headers."
The run lookup at line 29 uses where: { friendlyId: runId } with NO environment scoping (runtimeEnvironmentId is not checked), so production runs are accessible.
Run friendlyIds follow predictable patterns (e.g., run_1234abcd).
Steps to Reproduce
# No authentication required
curl -X POST "http://localhost:8030/realtime/v1/streams/run_KNOWN_ID/stream_1" -H "Content-Type: application/json" -d '{"injected": "data"}'Impact
Unauthenticated data injection into any run realtime stream. Cross-environment access (no scoping).
Credited to sfwani, dodge1218, geo-chen, MatiasTilleriasLey.
References
- https://github.com/triggerdotdev/trigger.dev/security/advisories/GHSA-59h8-w5q6-mfmp
- https://github.com/triggerdotdev/trigger.dev/pull/4250
- https://github.com/triggerdotdev/trigger.dev/commit/73d966ad226548b5f96fb5b4fc6fa607a3b7b8f8
- https://github.com/triggerdotdev/trigger.dev/releases/tag/v4.5.5
- https://github.com/advisories/GHSA-59h8-w5q6-mfmp
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesGHSA-4672-hwv6-gq62
Trigger.dev: Cross-environment deployment cancel
medium5.4Oct 2, 2026GHSA-9q4r-4842-93vw
Trigger.dev: Cross-tenant SQL injection in the TSQL query compiler (POST /api/v1/query) via unsanitized window-function name
high7.7Oct 2, 2026GHSA-fj2x-mqqp-3v2w
Trigger.dev: Trigger CLI debug deployment logs expose resolved environment secret values
medium5.5Oct 2, 2026GHSA-gg6r-gp4c-89hp
Trigger.dev: V1 coordinator default-secret unauth Socket.IO
critical9.2Oct 2, 2026GHSA-pp95-gc86-jq6q
Trigger.dev: Missing Authentication in Run Replay Action Allows Cross-Organization Task Execution (IDOR)
high7.1Oct 2, 2026GHSA-pqxw-g93w-hj9x
Trigger.dev Self-Hosted Deployment: Default Secrets allow Unauthenticated Infrastructure Compromise
high8.1Oct 2, 2026
