{"id":"CVE-2026-55240","aliases":["CVE-2026-55240"],"related":[],"kind":"vulnerability","state":"published","title":"Tianji: Remote Code Execution via lodash template evaluate pattern in survey feed templates","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-15T18:15:12.957Z","modified":"2026-10-28T20:18:08.730Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-1336"],"affected":[{"ranges":[{"version":"< 1.31.29","status":"affected"}],"vendor":"msgbyte","product":"tianji","source":"cvelist"}],"references":[{"url":"https://github.com/msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/msgbyte/tianji/commit/132ff67907df897d222829ea8ad1a018ff74df48","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/msgbyte/tianji/releases/tag/v1.31.29","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-10-28T20:04:51.050Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-55240","url":"https://www.cve.org/CVERecord?id=CVE-2026-55240","licence":"CVE Terms of Use","modified":"2026-10-28T20:04:59.360Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-55240","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55240","licence":"Public domain","modified":"2026-10-28T20:18:08.730Z"}],"updatedAt":"2026-11-25T22:59:44.952Z","epss":{"score":0.00748,"percentile":0.56096,"date":"2026-12-01T12:00:22.000Z"}}