Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-55239
VULNERABILITY

CVE-2026-55239

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
8.8
Severity
HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Timeline

Published
Oct 15, 2026 19:17
Modified
Oct 21, 2026 01:17
Last observed
Oct 21, 2026 20:26

CWE

CWE-89

References