{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-55240","published":"2026-10-15T19:17:40.290000Z","last_modified":"2026-10-28T20:18:08.730000Z","status":"Deferred","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-1336"],"cpes":[],"cpes_truncated":false,"vendors":["msgbyte"],"products":["msgbyte/tianji"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":55,"links":{"html_es":"/es/cve/CVE-2026-55240/","html_en":"/en/cve/CVE-2026-55240/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-55240","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-55240"},"untrusted":{"vendor_name":"msgbyte","product_name":"tianji","desc_en":"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":[{"untrusted_vendor":"msgbyte","untrusted_product":"tianji","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"20529a9c2508bec66a7f21030283ad7d","generated":"2026-11-26T22:02:12.518718Z","es":{"untrusted_title":"Ejecución remota de código en Tianji por inyección de plantilla","untrusted_summary":"Tianji anterior a 1.31.29 permite que un administrador del espacio de trabajo inyecte código JavaScript en plantillas de encuestas y notificaciones de monitoreo. Cuando un usuario no autenticado envía una respuesta a través del endpoint público survey.submit, la plantilla compilada ejecuta código en el proceso Node.js del servidor, permitiendo ejecución de comandos, divulgación de secretos y modificación de datos."},"en":{"untrusted_title":"Remote Code Execution in Tianji via Template Injection","untrusted_summary":"Tianji prior to 1.31.29 allows a workspace administrator to inject JavaScript code into survey and monitoring notification templates. When an unauthenticated user submits a response via the public survey.submit endpoint, the compiled template executes code in the Tianji Node.js process, enabling command execution, secret disclosure, and data modification."},"remediation":{"status":"fix","fixed_versions":["1.31.29"],"untrusted_action_es":"Actualiza Tianji a la versión 1.31.29 o superior para desactivar el patrón de evaluación en las plantillas lodash.","untrusted_action_en":"Update Tianji to version 1.31.29 or later to disable the evaluate pattern in lodash templates.","vendor_url":"https://github.com/msgbyte/tianji/releases/tag/v1.31.29"},"reviewed":false},"references":[{"url":"https://github.com/msgbyte/tianji/commit/132ff67907df897d222829ea8ad1a018ff74df48","tags":[]},{"url":"https://github.com/msgbyte/tianji/releases/tag/v1.31.29","tags":[]},{"url":"https://github.com/msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm","tags":[]}]}}