Summary
Vulnerability in @trigger.dev/core (CVE-2026-73654). Risk of unauthorized operations or information disclosure. Exploitable via PUT /api/v1/runs/. Mitigation: upgrade to >= 4.5.6 or later.
Original description
The description as published by the source.
Summary
The run-metadata update endpoint PUT /api/v1/runs/:runId/metadata applies client-supplied
"operations" by passing the attacker-controlled operation.key straight into
new JSONHeroPath(operation.key).set(newMetadata, value)
(packages/core/src/v3/runMetadata/operations.ts:22-23), with no prototype-pollution guard
(@jsonhero/path@^1.0.21 does not reject __proto__/constructor/prototype).
A request with key: "$.__proto__.polluted" sets Object.prototype.polluted in the webapp
process. Because every plain object then inherits that property, it corrupts unrelated code
process-wide and across tenants — including Prisma query building and the Prometheus metrics
client — causing query failures, broken authentication for other tenants' workers, and an
uncaughtException (denial of service). Only a normal, low-privilege environment API key is
required (one request).
Severity
A single request from any holder of a normal environment API key contaminates Object.prototype
in the shared webapp process, breaking other tenants' workers (scope change) and degrading/
crashing the process (high availability impact). Prototype pollution is also a primitive for
further gadget chains (integrity/confidentiality).
Affected versions
- Introduced in commit
34f8bd588("Add ability to update parent and root run metadata from
children", PR #1563, 2025-01-08) — theJSONHeroPath(operation.key).set()sink is present from
the first comm…
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
Trigger.devのAPIエンドポイントにおいて、ユーザーが提供したデータに基づいてプロトタイプ汚染が発生し、複数のテナントにわたるDoS攻撃が可能となる脆弱性が発見されました。攻撃者は、プロトタイプチェーンを通じてコードの一部を操作可能とし、認証やクエリ処理を中断させる恐れがあります。この問題はバージョン3.3.8から4.x(4.5.6で修正)までの範囲で影響を与えます。
Trigger.devのAPIエンドポイントにおけるプロトタイプ汚染脆弱性。
バージョン3.3.8以降のTrigger.devのnpmパッケージ。
低権限の環境APIキーでプロセス全体が汚染され、複数テナントでのDoS攻撃が可能。
バージョン4.5.6にアップデートして、この脆弱性を修正。
情報なし
現在使用しているTrigger.devバージョンが3.3.8以上4.5.6未満の場合は影響を受ける可能性がある。
Affected packages
References
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com