---
id: "CVE-2026-114081"
kind: "vulnerability"
aliases: ["CVE-2026-114081"]
title: "Trigger.dev: SQL injection in query compiler exposes other tenants' data"
severity: "high"
cvss: 8.3
epss: 0.00276
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["clickhouse", "multi-tenant", "package", "self-hosted", "trigger.dev"]
not_affected_if: ["single-tenant-trusted-users"]
published_at: "2026-10-21T01:17:32+00:00"
first_seen_at: "2026-10-23T21:57:27+00:00"
updated_at: "2026-10-25T03:02:15+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-114081", "first_seen_at": "2026-10-23T21:57:27+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-114081", "first_seen_at": "2026-10-24T13:15:55+00:00"}]
---

# Trigger.dev: SQL injection in query compiler exposes other tenants' data

Trigger.dev before 4.5.6 concatenates window-function names into generated ClickHouse SQL without allowlisting or escaping. An authenticated customer can send a backtick-quoted identifier to the query API and read other organizations' analytics data.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Trigger.dev version: `unknown` for the exact package name and lockfile path, but confirm whether the version is below `4.5.6`
- Check whether the POST /api/v1/query endpoint is reachable by customer accounts on your deployment

## Fix

- Upgrade Trigger.dev to `4.5.6` or later
- Until upgraded, restrict access to the query endpoint: unknown for a specific workaround in the sources

## Timeline

- 2026-10-23T21:57:27+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-114081
- 2026-10-24T13:15:55+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2026-114081

## From the sources

Trigger.dev before 4.5.6 contains an SQL injection vulnerability in the TSQL query compiler, which concatenates window-function names into generated ClickHouse SQL without allowlisting or escaping. Authenticated customers can submit a backtick-quoted identifier to POST /api/v1/query that injects a raw subquery outside the per-tenant WHERE guard, exfiltrating other organizations' analytics data.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
