sadrobot

← Back to the monthly list

CVE-2026-55240 msgbyte · tianji

9.1 Critical

AI summary

In Tianji before 1.31.29, a workspace administrator can store a malicious template that executes as server-side JavaScript in the Node.js process when an unauthenticated user submits a survey response. This enables command execution, secret disclosure, data modification or service disruption. Critical (9.1, requires high privileges); upgrade to 1.31.29.

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.

Published
2026-10-15 19:17 UTC
Modified
2026-10-28 20:18 UTC
CVSS
9.1 Critical CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS
1.12% (percentile 66)
ENISA EUVD
EUVD-2026-102246
CISA SSVC
Exploitation: poc · Automatable: no · Technical impact: total
CWE
CWE-1336

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
high
User interaction
none
Scope
changed
Confidentiality
high
Integrity
high
Availability
high

References