Skip to content
Heist/ feed
Back to feed
MediumFix available

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

Type: advisorySources: OSV

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

Products
trigger.dev
Affected versions
Not specified
Fixed versions
4.5.5
CVEs
CVE-2026-114086
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 14:08 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 2 Oct 2026, 22:39 UTC

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

osv:GHSA-59h8-w5q6-mfmp

trigger.dev

Fixed versions: 4.5.5

Complete source record
{
  "id": "9358abf1f6112f39bc0a0282eca4cd4604f58bd842319d19dae328fe8a9a51e6",
  "url": "https://osv.dev/vulnerability/GHSA-59h8-w5q6-mfmp",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Trigger.dev: Unauthenticated Realtime Stream Data Injection via Run FriendlyId",
    "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).",
    "evidence": "osv:GHSA-59h8-w5q6-mfmp",
    "products": [
      {
        "name": {
          "value": "trigger.dev",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.5.5",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "GHSA-59h8-w5q6-mfmp",
      "aliases": [
        "CVE-2026-114086",
        "GHSA-59h8-w5q6-mfmp"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.5.5"
                }
              ]
            }
          ],
          "package": {
            "name": "trigger.dev",
            "purl": "pkg:npm/trigger.dev",
            "ecosystem": "npm"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-59h8-w5q6-mfmp/GHSA-59h8-w5q6-mfmp.json",
            "last_known_affected_version_range": "<= 4.5.4"
          }
        }
      ],
      "modified": "2026-10-21T10:57:25.058188264Z",
      "provider": "osv",
      "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",
        "https://github.com/triggerdotdev/trigger.dev/releases/tag/v4.5.5"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-306"
        ],
        "severity": "MODERATE",
        "github_reviewed": true,
        "nvd_published_at": null,
        "github_reviewed_at": "2026-10-02T22:39:57Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-114086",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 392981,
  "published_at": "2026-10-02T22:39:57+00:00"
}