Vulnerability details
CVE-2026-55240
Tianji: Remote Code Execution via lodash template evaluate pattern in survey feed templates
Official 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 scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 9.1Critical | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| msgbyte | tianji | < 1.31.29 | CVEProject cvelistV5 (CNA) |
References and advisories
3- https://github.com/msgbyte/tianji/commit/132ff67907df897d222829ea8ad1a018ff74df48 x_refsource_MISC
- https://github.com/msgbyte/tianji/releases/tag/v1.31.29 x_refsource_MISC
- https://github.com/msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm x_refsource_CONFIRM
Details
- Published
- 2026-10-15
- Last updated
- 2026-10-28
- State
- Published
- Assigner (CNA)
- GitHub_M
- Kolun priority
- 28 · Low
Exploit prediction (EPSS)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- Proof of concept
- Technical impact
- Total
Weaknesses (CWE)
- CWE-1336Improper Neutralization of Special Elements Used in a Template Engine