Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-114084 Overview
CVE-2026-114084 is a SQL injection vulnerability in Trigger.dev versions before 4.5.6. The flaw resides in the /realtime/v1/runs endpoint, which concatenates the unescaped tags query parameter directly into an ElectricSQL shape where clause. This concatenation also defeats the runtimeEnvironmentId tenant guard that normally isolates organizations on shared instances. Authenticated attackers holding any project API key with the read:runs scope can append boolean conditions to stream TaskRun records from every organization hosted on the same self-hosted Trigger.dev instance. Exposed data includes task payloads and metadata, which frequently contain secrets, PII, and business-critical records.
Critical Impact
Cross-tenant data exposure allowing any authenticated project user to read TaskRun payloads and metadata belonging to other organizations on the same self-hosted Trigger.dev instance.
Affected Products
- Trigger.dev self-hosted instances before version 4.5.6
- Deployments exposing the /realtime/v1/runs endpoint
- Multi-tenant installations sharing an ElectricSQL backend
Discovery Timeline
- 2026-10-21 - CVE CVE-2026-114084 published to NVD
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-114084
Vulnerability Analysis
The vulnerability is a classic SQL injection [CWE-89] exposed through a REST API tag filter. The tags query parameter supplied to /realtime/v1/runs is appended to the ElectricSQL shape where clause without parameterization or escaping. Because the injected fragment extends the same boolean expression that enforces tenant isolation, attackers can neutralize the runtimeEnvironmentId predicate using appended boolean logic. The result is a cross-tenant read primitive accessible to any authenticated caller holding a project API key with the read:runs scope.
Root Cause
The root cause is unsafe string concatenation in the construction of the ElectricSQL shape filter. Trigger.dev builds a where clause by combining the tenant guard (runtimeEnvironmentId = ...) with user-supplied tag values. Because the tag input is not treated as a bound parameter, attacker-controlled SQL syntax terminates the intended predicate and introduces attacker logic in its place. Tenant separation enforced only through SQL predicates collapses when those predicates are string-concatenated with untrusted input.
Attack Vector
Exploitation requires network access to the Trigger.dev API and an authenticated project API key with the read:runs scope. The attacker issues a GET request to /realtime/v1/runs with a crafted tags parameter containing SQL metacharacters and boolean operators (for example, ' OR 1=1 --). The server streams back TaskRun records across every organization on the instance. No user interaction and no additional privileges are required beyond the low-scope API key. Technical specifics are documented in the GitHub Security Advisory GHSA-p6j2-2fjh-vc8v and the VulnCheck SQL Injection Advisory.
Detection Methods for CVE-2026-114084
Indicators of Compromise
- Requests to /realtime/v1/runs containing SQL metacharacters such as single quotes, --, OR, or parentheses in the tags parameter.
- Response streams returning TaskRun records whose runtimeEnvironmentId differs from the caller's project.
- Spikes in realtime shape subscriptions originating from a single API key across unusual tag values.
Detection Strategies
- Parse application access logs and alert on tags= values containing SQL control characters or boolean operators.
- Correlate API key identifiers against the runtimeEnvironmentId values returned to detect cross-tenant reads.
- Enable ElectricSQL query logging and flag shape definitions whose where clauses deviate from the expected tenant-scoped template.
Monitoring Recommendations
- Baseline normal traffic patterns per API key and alert on abnormal volume or novel tag payloads against /realtime/v1/runs.
- Forward Trigger.dev and PostgreSQL audit logs to a centralized analytics pipeline for retrospective hunting.
- Review API key scope assignments and remove read:runs from keys that do not require streaming access.
How to Mitigate CVE-2026-114084
Immediate Actions Required
- Upgrade all self-hosted Trigger.dev deployments to version 4.5.6 or later without delay.
- Rotate any project API keys that held the read:runs scope prior to upgrade.
- Audit TaskRun access logs for the retention window to identify potential cross-tenant data exposure.
Patch Information
The vendor fixed the issue in Trigger.dev 4.5.6 by parameterizing the tags filter and reinforcing the runtimeEnvironmentId tenant guard against predicate injection. Upgrade instructions and the full fix are documented in the GitHub Security Advisory GHSA-p6j2-2fjh-vc8v.
Workarounds
- Block or rewrite requests to /realtime/v1/runs containing SQL metacharacters in the tags parameter at an upstream reverse proxy or WAF.
- Restrict issuance of API keys with the read:runs scope to trusted operators until the upgrade is applied.
- Segment multi-tenant self-hosted instances so that distinct organizations do not share a database backend during the patch window.
# Example reverse-proxy rule (nginx) blocking suspicious tag values
# Place inside the server { } block fronting Trigger.dev
if ($arg_tags ~* "('|--|\bor\b|\band\b|;|/\*)") {
return 400;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

