๐Ÿ” CVE Alert

CVE-2026-55239

HIGH 8.8

Tianji: SQL Injection via unsanitized timezone parameter in analytics queries

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-89
Vendor msgbyte
Product tianji
Published Oct 15, 2026
Stay Ahead of the Next One

Get instant alerts for msgbyte tianji

Be the first to know when new high vulnerabilities affecting msgbyte tianji are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

msgbyte / tianji
< 1.31.29

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/msgbyte/tianji/security/advisories/GHSA-v9jm-vvrj-53c4 github.com: https://github.com/msgbyte/tianji/commit/132ff67907df897d222829ea8ad1a018ff74df48 github.com: https://github.com/msgbyte/tianji/releases/tag/v1.31.29