Trigger.dev: Cross-tenant SQL injection in the TSQL query compiler (POST /api/v1/query) via unsanitized window-function name — GHSA-9Q4R-4842-93VW
GitHub · GitHub · GHSA-9Q4R-4842-93VW
ID
GHSA-9Q4R-4842-93VW
GHSA-9Q4R-4842-93VW
Date
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
high
high
CVSS
7.7
7.7
Summary
### Summary A cross-tenant SQL injection in the TSQL query compiler lets **any authenticated trigger.dev customer read every other tenant's analytics data**. The customer-facing query endpoint `POST /api/v1/query` accepts a TSQL/TRQL query that is compiled to ClickHouse SQL by `internal-packages/tsql`. The compiler parameterizes or escapes all user input and injects a per-tenant `WHERE` guard — **except the…
Timeline
- Published by source
- 2026-10-02
Risk context
- Reported severity or threat level: high.
- Reported CVSS score: 7.7 out of 10.
- Review exposure for the affected product or family: npm: trigger.dev.
Product
npm: trigger.dev
What to do
General, cautious steps (verify details in the official source):
- Prioritize patching or mitigation immediately (treat as actively risky).
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.
Official advisory
Evidence and provenance
- Canonical advisory ID
- GHSA-9Q4R-4842-93VW
- Source
- GitHub
- Vendor
- GitHub
- Published by source
- 2026-10-02
- Last source activity
- 2026-10-02
- Curated by
- hlukh.ch
Related advisories and connections
These advisories are connected by shared CVE, product, vendor, source, or time signals.