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.
- CVSS
- 9.1Critical
- Chance of exploitation (EPSS)
- 0.75%
- Published
- Oct 15, 2026
- In the news
- Not yet
What to do
A critical security flaw in Msgbyte Tianji that can be attacked over the network by someone with an account. No attacks are reported yet, but patch it soon.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Msgbyte Tianji
- < 1.31.29
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-55240 published (CVSS 9.1) (Oct 15, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Oct 15, 2026
- CVECVE-2026-55240 published (CVSS 9.1)CVE Program · 19:17 UTC
References 4
- github.com /msgbyte/tianji/commit/132ff67907df897d222829ea8ad1a018ff74df48
- github.com /msgbyte/tianji/releases/tag/v1.31.29
- github.com /msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm
- github.com /msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm