CVE-2026-55239
HIGH 8.8Tianji 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.
Severe if exploited (CVSS 8.8), but no known exploitation and low modeled probability. Patch on a normal cadence.
Exploitation likelihood
0.3%chance of exploitation in 30 days · 27th percentile
Impact if exploited
8.8CVSS 3.1 · HIGH
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ⚠Privileges: Requires a low-privilege account
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked daily for recent CVEs, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-89: : Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References and research data (JSON)
All CVSS metrics
- HIGH 8.8 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - HIGH 8.8 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
Advisories
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-102244 EUVD · EUVD-2026-102244
Technical & other
- https://github.com/msgbyte/tianji/security/advisories/GHSA-v9jm-vvrj-53c4 CVE record · GitHub_M · Updated 2026-10-15T18:14:21.918Z
NVD · CVE-2026-55239 · Updated 2026-10-21T01:17:39.013 - https://github.com/msgbyte/tianji/commit/132ff67907df897d222829ea8ad1a018ff74df48 CVE record · GitHub_M · Updated 2026-10-15T18:14:21.918Z
NVD · CVE-2026-55239 · Updated 2026-10-21T01:17:39.013 - https://github.com/msgbyte/tianji/releases/tag/v1.31.29 CVE record · GitHub_M · Updated 2026-10-15T18:14:21.918Z
NVD · CVE-2026-55239 · Updated 2026-10-21T01:17:39.013