CVE-2026-55239

published 15 Oct 2026 · updated 21 Oct 2026

Tianji: SQL Injection via unsanitized timezone parameter in analytics queries

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

Tianji is an open source analytics, uptime monitoring, and server status platform. Prior to 1.31.29, the getDateQuery() function in src/server/utils/prisma.ts constructs raw SQL through Prisma.sql() by interpolating the timezone request value without parameter binding. The timezone value can reach affected analytics queries through request data or the timezone HTTP header, and workspaceProcedure permits any authenticated workspace member, including a read-only viewer, to reach those queries. An attacker can execute arbitrary SQL against the shared PostgreSQL database, which can disclose or modify credentials, API keys, and tenant data or make the service unavailable. This issue is fixed in version 1.31.29.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
msgbyte<1.31.29

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-55239 severity on Zeptric[![CVE-2026-55239](https://zeptric.io/badge/cve/CVE-2026-55239.svg)](https://zeptric.io/cve/CVE-2026-55239)