CVE-2026-55239CWE-89sql-injection

CVE-2026-55239

High · published October 15, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
26.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00340 · 26.2th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-10-15T23:17Z
References (3)
EPSS history
Timeline
  • 17 OCT 03:32Z
    EPSS moved — → 0%
    epss
  • 15 OCT 18:14Z
    Tianji: SQL Injection via unsanitized timezone parameter in analytics queries
    cvelistv5
  • 15 OCT 18:14Z
    Tianji: SQL Injection via unsanitized timezone parameter in analytics queries
    cvelistv5