Vulnerability Description
Tianji 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/msgbyte/tianji/commit/132ff67907df897d222829ea8ad1a018ff74df4
- https://github.com/msgbyte/tianji/releases/tag/v1.31.29
- https://github.com/msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm
- https://github.com/msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm
FAQ
What is CVE-2026-55240?
CVE-2026-55240 is a vulnerability with a CVSS score of 9.1 (CRITICAL). Tianji 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 ...
How severe is CVE-2026-55240?
CVE-2026-55240 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-55240?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.