CVE-2026-55240
9.1CriticalPublished Oct 15, 2026 · NVD status: Deferred · AI triage by gemini-3.8-flash
Critical
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- High
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-1336
What an attacker gets
A workspace administrator can execute arbitrary code inside the Tianji Node.js process by configuring a malicious template that triggers when users submit surveys or when notifications fire. This leads to host command execution, stolen server secrets, and full database compromise.
Root cause
The formatString utility passes user-controlled notification and survey templates to lodash.template without disabling the default evaluate pattern delimiters.
Affected versions
Tianji prior to 1.31.29
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Fix & remediation
Upgrade Tianji to version 1.31.29 or newer. If you cannot upgrade immediately, restrict workspace administrator access and disable public survey endpoints.
$ docker pull msgbyte/tianji:v1.31.29AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
Related Critical CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-185439.3CriticalUnauthenticated attackers can execute arbitrary JavaScript in an administrator's browser session. This requires an administrator to view the Recent Web User Logins dashboard gadget.
- CVE-2026-768129.3CriticalUnauthenticated attackers can steal cloud IAM credentials via server-side request forgery. This allows them to move laterally into your cloud account.
- CVE-2026-1424899.8CriticalUnauthenticated attackers can bypass authentication to gain WebDAV write access and execute arbitrary code. They only need to send a crafted HTTP request with percent-encoded CRLF sequences to the server.
- CVE-2026-1424889.1CriticalUnauthenticated attackers can overwrite or relocate arbitrary files on the server by sending malicious WebDAV requests. This can lead to remote code execution if the server process has sufficient permissions.
- CVE-2026-1424879.8CriticalUnauthenticated attackers can execute arbitrary code on the host. They only need network access to the MCP server to send a crafted joinly-settings HTTP header.
- CVE-2026-1420419.1CriticalRemote unauthenticated attackers can crash the malware scanning engine and potentially achieve code execution. This occurs when the engine processes a malicious signature file.