{"id":"CVE-2026-55240","aliases":[],"cve":{"records":[{"id":"CVE-2026-55240","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-06-16T16:44:00.624Z","published":"2026-10-15T18:15:12.957Z","modified":"2026-10-28T20:04:59.360Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-10-15T18:15:12.957Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-10-28T20:04:59.360Z"}],"references":[{"url":"https://github.com/msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/msgbyte/tianji/commit/132ff67907df897d222829ea8ad1a018ff74df48","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/msgbyte/tianji/releases/tag/v1.31.29","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm","tags":["exploit"],"source":"CISA-ADP"}],"weaknesses":[{"id":"CWE-1336","description":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","source":"GitHub_M"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-10-28T20:04:51.050574Z","decisions":[{"name":"Exploitation","value":"poc"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"total"}]}]},"title":"Tianji: Remote Code Execution via lodash template evaluate pattern in survey feed templates","titleSource":"GitHub_M","descriptionSource":"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.","score":9.1,"severity":"critical","published":"2026-10-15T18:15:12.957Z","modified":"2026-10-28T20:04:59.360Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"msgbyte","name":"tianji","platforms":[],"versions":[{"version":"< 1.31.29","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-55240"}],"remediation":[],"references":["https://github.com/msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm","https://github.com/msgbyte/tianji/commit/132ff67907df897d222829ea8ad1a018ff74df48","https://github.com/msgbyte/tianji/releases/tag/v1.31.29"],"sources":[{"name":"CVE","id":"CVE-2026-55240","modified":"2026-10-28T20:04:59.360Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-55240"}],"assessments":[{"source":"GitHub_M","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1}],"sourceAffected":[],"observedAt":"2026-10-29T14:40:00.216Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T14:00:31.626Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":{"text":"Tianji, an analytics platform, has a weakness in versions prior to 1.31.29, where a workspace administrator can store malicious code in survey feed templates, potentially allowing command execution or data modification when rendered by an unauthenticated user. The issue is due to the default evaluate pattern in lodash template being enabled. A fix is available in version 1.31.29.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-30T09:15:25.052Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-55240"}]}}