Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2026-55240critical9.1

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

Impact

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.

Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.

Affected packages

This source has no supported package-version data for matching. You can read the advisory here, but this record alone cannot power a dependency check.

Affected products

Vendor version evidence. Product records are separate from automatic dependency matching.

msgbyte · GitHub_M

tianji

1 range

Compare with this publisher’s ranges. This does not inspect your installation.

affected

< 1.31.29

unaffected

unknown

Other versions: unknown

Original source 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.

Inside the record

Evidence available

Package identity · not supplied
Version evidence
Remediation guidance · not supplied
Weakness classification
Additional publishers

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2026-55240

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Underlying weaknesses

The source’s classification of what caused the vulnerability.

CWE-1336 ↗

CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

GitHub_M

Related →
Contributing organizations · 2
GitHub_M

Assigning organization

2026-10-15
CISA-ADP

Additional data publisher

2026-10-28

What changed

Follow changes
No substantive changes have been recorded here yet. History starts when cve.new observes a change after tracking is enabled; earlier edits are not reconstructed.

Large field values are marked as truncated previews. Original source snapshots remain retained.

References

3 sources