PT-2026-115108 · Tianji · Tianji
CVE-2026-55239
·
Published
2026-10-15
·
Updated
2026-10-15
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Tianji versions prior to 1.31.29
Description
The
getDateQuery() function in src/server/utils/prisma.ts constructs raw SQL using Prisma.sql() by interpolating the timezone request value without parameter binding. This allows the timezone value to reach analytics queries via request data or the timezone HTTP header. Since workspaceProcedure allows any authenticated workspace member, including read-only viewers, to access these queries, an attacker can execute arbitrary SQL against the shared PostgreSQL database. This could lead to the disclosure or modification of credentials, API keys, and tenant data, or result in a denial of service.Recommendations
Update to version 1.31.29.
Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Tianji