{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-55240", "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "state": "PUBLISHED", "assignerShortName": "GitHub_M", "dateReserved": "2026-06-16T16:44:00.624Z", "datePublished": "2026-10-15T18:15:12.957Z", "dateUpdated": "2026-10-15T18:15:12.957Z" }, "containers": { "cna": { "title": "Tianji: Remote Code Execution via lodash template evaluate pattern in survey feed templates", "problemTypes": [ { "descriptions": [ { "cweId": "CWE-1336", "lang": "en", "description": "CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine", "type": "CWE" } ] } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.1, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "HIGH", "scope": "CHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H", "version": "3.1" } } ], "references": [ { "name": "https://github.com/msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm" }, { "name": "https://github.com/msgbyte/tianji/commit/132ff67907df897d222829ea8ad1a018ff74df48", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/msgbyte/tianji/commit/132ff67907df897d222829ea8ad1a018ff74df48" }, { "name": "https://github.com/msgbyte/tianji/releases/tag/v1.31.29", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/msgbyte/tianji/releases/tag/v1.31.29" } ], "affected": [ { "vendor": "msgbyte", "product": "tianji", "versions": [ { "version": "< 1.31.29", "status": "affected" } ] } ], "providerMetadata": { "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M", "dateUpdated": "2026-10-15T18:15:12.957Z" }, "descriptions": [ { "lang": "en", "value": "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": { "advisory": "GHSA-5grg-j3cr-3hpm", "discovery": "UNKNOWN" } } } }