CVE-2026-55240
JSON

9.1critical

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

Severity
9.1critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.75% (higher than 56% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
msgbyte tianji< 1.31.29CVE List

Classification

CWE-1336

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-55240 changed 2026-10-28CVE Terms of Use
NVDCVE-2026-55240 changed 2026-10-28Public domain