CVE-2026-55239
8.8 HIGHpublic exploit availablePublished 2026-10-15 · Updated 2026-10-16
AI risk analysis
- Summary
- The Tianji platform has a SQL injection vulnerability in its getDateQuery() function that allows authenticated users to execute arbitrary SQL against the PostgreSQL database. This affects analytics queries and can lead to data disclosure, modification, or service unavailability.
- Exploitability
- Exploitation is relatively straightforward for authenticated users who can access analytics queries, requiring only a timezone parameter injection through request data or HTTP headers with no additional preconditions.
- Blast radius
- The vulnerability impacts all authenticated workspace members including read-only viewers, potentially allowing attackers to access or modify sensitive tenant data, credentials, and API keys across the shared database.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to version 1.31.29 immediately to fix the SQL injection vulnerability in the getDateQuery() function.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-89
Public exploit & PoC references
References
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.