CVE-2026-55240

published 15 Oct 2026 · updated 28 Oct 2026

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

9.1CriticalCVSS 9.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
msgbyte<1.31.29

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-55240 severity on Zeptric[![CVE-2026-55240](https://zeptric.io/badge/cve/CVE-2026-55240.svg)](https://zeptric.io/cve/CVE-2026-55240)