Vulnerability details

CVE-2026-55240

msgbyte tianji

Tianji: Remote Code Execution via lodash template evaluate pattern in survey feed templates

CVSS 3.1
9.1Critical

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

ScoreVersionSourceVector
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

VendorProductVersionsSource
msgbyte tianji < 1.31.29 CVEProject cvelistV5 (CNA)

References and advisories

3
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-10-15
Last updated
2026-10-28
State
Published
Assigner (CNA)
GitHub_M
Kolun priority
28 · Low

Exploit prediction (EPSS)

0.74%
Probability of exploitation in 30 days
55.1%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
Proof of concept
Technical impact
Total

Weaknesses (CWE)

  • CWE-1336
    Improper Neutralization of Special Elements Used in a Template Engine