Read the docs
TI-2026-67368 Aliases GHSA-59h8-w5q6-mfmp

Trigger.dev: Unauthenticated Realtime Stream Data Injection via Run FriendlyId

Priority LOW 38CWE-306Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Security bypass
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-306.

Summary

## 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 ```bash # 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).

Why it matters now

Fix Fixed trigger.dev (npm): 4.5.5

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—trigger.dev (npm)before 4.5.54.5.5Patch availableGHSA-59h8-w5q6-mfmp
  • trigger.dev (npm) Vendor— Affected before 4.5.5 Fixed in 4.5.5 Patch available GHSA-59h8-w5q6-mfmp

Remediation

  • Fix · GHSA-59h8-w5q6-mfmp trigger.dev (npm) Fixed in 4.5.5 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-59h8-w5q6-mfmp

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences