CVE-2026-55240
CRITICAL 9.1Tianji is an open source analytics, uptime monitoring, and server status platform. Prior to 1.31.29, formatString() in src/server/utils/template.ts passes survey feedTemplate and monitor notification templates to lodash template(), while the default evaluate pattern remains enabled. A workspace administrator can store an evaluate block using the <% code %> form, and the public survey.submit endpoint renders a survey template when an unauthenticated user submits a response. The compiled template executes server-side JavaScript in the Tianji Node.js process, allowing command execution, secret disclosure, data modification, or service disruption. This issue is fixed in version 1.31.29.
Severe if exploited (CVSS 9.1), but no known exploitation and low modeled probability. Patch on a normal cadence.
Exploitation likelihood
0.6%chance of exploitation in 30 days · 47th percentile
Impact if exploited
9.1CVSS 3.1 · CRITICAL
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ⚠Privileges: Requires an admin / high-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-1336: : Improper Neutralization of Special Elements Used in a Template Engine
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
References and research data (JSON)
All CVSS metrics
- CRITICAL 9.1 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H - CRITICAL 9.1 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
References
Advisories
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-102246 EUVD · EUVD-2026-102246
Technical & other
- https://github.com/msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm CVE record · GitHub_M · Updated 2026-10-15T18:15:12.957Z
NVD · CVE-2026-55240 · Updated 2026-10-16T20:04:29.760 - https://github.com/msgbyte/tianji/commit/132ff67907df897d222829ea8ad1a018ff74df48 CVE record · GitHub_M · Updated 2026-10-15T18:15:12.957Z
NVD · CVE-2026-55240 · Updated 2026-10-16T20:04:29.760 - https://github.com/msgbyte/tianji/releases/tag/v1.31.29 CVE record · GitHub_M · Updated 2026-10-15T18:15:12.957Z
NVD · CVE-2026-55240 · Updated 2026-10-16T20:04:29.760