Search
Find a vulnerability
Search criteria
6 vulnerabilities found for tianji by msgbyte
CVE-2026-142323 (GCVE-0-2026-142323)
Vulnerability from nvd – Published: 2026-12-02 16:48 – Updated: 2026-12-02 16:48
VLAI
EPSS
VEX
Title
Tianji through 2.1.0 Authentication Bypass via LemonSqueezy Webhook Empty HMAC Key
Summary
Tianji through 2.1.0 contains an authentication bypass vulnerability in the LemonSqueezy billing webhook that allows unauthenticated attackers to forge events because LEMON_SQUEEZY_SIGNATURE_SECRET defaults to an empty HMAC key. Attackers can sign forged subscription_updated events to change workspace tiers, pausing analytics ingestion, upgrading to paid tiers, or adding AI credits.
Severity
4.8 (Medium)
CWE
- CWE-347 - Improper Verification of Cryptographic Signature
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/msgbyte/tianji/blob/v2.1.0/src… | technical-description |
| https://github.com/msgbyte/tianji/blob/v2.1.0/src… | technical-description |
| https://github.com/msgbyte/tianji/blob/v2.1.0/src… | technical-description |
| https://www.vulncheck.com/advisories/tianji-throu… | third-party-advisory |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:github/msgbyte/tianji",
"product": "Tianji",
"repo": "https://github.com/msgbyte/tianji",
"vendor": "msgbyte",
"versions": [
{
"lessThanOrEqual": "2.1.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Zachariah Mithani (AploSec)"
}
],
"descriptions": [
{
"lang": "en",
"value": "Tianji through 2.1.0 contains an authentication bypass vulnerability in the LemonSqueezy billing webhook that allows unauthenticated attackers to forge events because LEMON_SQUEEZY_SIGNATURE_SECRET defaults to an empty HMAC key. Attackers can sign forged subscription_updated events to change workspace tiers, pausing analytics ingestion, upgrading to paid tiers, or adding AI credits."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "HIGH",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "LOW",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "LOW"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 4.8,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-347",
"description": "Improper Verification of Cryptographic Signature",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-12-02T16:48:26.143Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"tags": [
"technical-description"
],
"url": "https://github.com/msgbyte/tianji/blob/v2.1.0/src/server/router/billing.ts#L18-L27"
},
{
"tags": [
"technical-description"
],
"url": "https://github.com/msgbyte/tianji/blob/v2.1.0/src/server/router/billing.ts#L133-L144"
},
{
"tags": [
"technical-description"
],
"url": "https://github.com/msgbyte/tianji/blob/v2.1.0/src/server/model/billing/index.ts#L57-L69"
},
{
"name": "VulnCheck Advisory: Tianji through 2.1.0 Authentication Bypass via LemonSqueezy Webhook Empty HMAC Key",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/tianji-through-2.1.0-authentication-bypass-via-lemonsqueezy-webhook-empty-hmac-key"
}
],
"title": "Tianji through 2.1.0 Authentication Bypass via LemonSqueezy Webhook Empty HMAC Key",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-142323",
"datePublished": "2026-12-02T16:48:26.143Z",
"dateReserved": "2026-12-02T15:29:23.456Z",
"dateUpdated": "2026-12-02T16:48:26.143Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-55240 (GCVE-0-2026-55240)
Vulnerability from nvd – Published: 2026-10-15 18:15 – Updated: 2026-10-28 20:04
VLAI
EPSS
VEX
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.
Severity
9.1 (Critical)
SSVC
Exploitation: poc
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-28 20:04 UTC
CWE
- CWE-1336 - Improper Neutralization of Special Elements Used in a Template Engine
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/msgbyte/tianji/security/adviso… | x_refsource_CONFIRM |
| https://github.com/msgbyte/tianji/commit/132ff679… | x_refsource_MISC |
| https://github.com/msgbyte/tianji/releases/tag/v1.31.29 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-55240",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-28T20:04:51.050574Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-28T20:04:59.360Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "tianji",
"vendor": "msgbyte",
"versions": [
{
"status": "affected",
"version": "\u003c 1.31.29"
}
]
}
],
"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 \u003c% code %\u003e 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."
}
],
"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"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-1336",
"description": "CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-15T18:15:12.957Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"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"
}
],
"source": {
"advisory": "GHSA-5grg-j3cr-3hpm",
"discovery": "UNKNOWN"
},
"title": "Tianji: Remote Code Execution via lodash template evaluate pattern in survey feed templates"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-55240",
"datePublished": "2026-10-15T18:15:12.957Z",
"dateReserved": "2026-06-16T16:44:00.624Z",
"dateUpdated": "2026-10-28T20:04:59.360Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-55239 (GCVE-0-2026-55239)
Vulnerability from nvd – Published: 2026-10-15 18:14 – Updated: 2026-10-21 01:02
VLAI
EPSS
VEX
Title
Tianji: SQL Injection via unsanitized timezone parameter in analytics queries
Summary
Tianji is an open source analytics, uptime monitoring, and server status platform. Prior to 1.31.29, the getDateQuery() function in src/server/utils/prisma.ts constructs raw SQL through Prisma.sql() by interpolating the timezone request value without parameter binding. The timezone value can reach affected analytics queries through request data or the timezone HTTP header, and workspaceProcedure permits any authenticated workspace member, including a read-only viewer, to reach those queries. An attacker can execute arbitrary SQL against the shared PostgreSQL database, which can disclose or modify credentials, API keys, and tenant data or make the service unavailable. This issue is fixed in version 1.31.29.
Severity
8.8 (High)
SSVC
Exploitation: none
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-21 01:02 UTC
CWE
- CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/msgbyte/tianji/security/adviso… | x_refsource_CONFIRM |
| https://github.com/msgbyte/tianji/commit/132ff679… | x_refsource_MISC |
| https://github.com/msgbyte/tianji/releases/tag/v1.31.29 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-55239",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-21T01:02:18.682889Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-21T01:02:29.450Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "tianji",
"vendor": "msgbyte",
"versions": [
{
"status": "affected",
"version": "\u003c 1.31.29"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Tianji is an open source analytics, uptime monitoring, and server status platform. Prior to 1.31.29, the getDateQuery() function in src/server/utils/prisma.ts constructs raw SQL through Prisma.sql() by interpolating the timezone request value without parameter binding. The timezone value can reach affected analytics queries through request data or the timezone HTTP header, and workspaceProcedure permits any authenticated workspace member, including a read-only viewer, to reach those queries. An attacker can execute arbitrary SQL against the shared PostgreSQL database, which can disclose or modify credentials, API keys, and tenant data or make the service unavailable. This issue is fixed in version 1.31.29."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-89",
"description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-15T18:14:21.918Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/msgbyte/tianji/security/advisories/GHSA-v9jm-vvrj-53c4",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/msgbyte/tianji/security/advisories/GHSA-v9jm-vvrj-53c4"
},
{
"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"
}
],
"source": {
"advisory": "GHSA-v9jm-vvrj-53c4",
"discovery": "UNKNOWN"
},
"title": "Tianji: SQL Injection via unsanitized timezone parameter in analytics queries"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-55239",
"datePublished": "2026-10-15T18:14:21.918Z",
"dateReserved": "2026-06-16T16:44:00.624Z",
"dateUpdated": "2026-10-21T01:02:29.450Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-142323 (GCVE-0-2026-142323)
Vulnerability from cvelistv5 – Published: 2026-12-02 16:48 – Updated: 2026-12-02 16:48
VLAI
EPSS
VEX
Title
Tianji through 2.1.0 Authentication Bypass via LemonSqueezy Webhook Empty HMAC Key
Summary
Tianji through 2.1.0 contains an authentication bypass vulnerability in the LemonSqueezy billing webhook that allows unauthenticated attackers to forge events because LEMON_SQUEEZY_SIGNATURE_SECRET defaults to an empty HMAC key. Attackers can sign forged subscription_updated events to change workspace tiers, pausing analytics ingestion, upgrading to paid tiers, or adding AI credits.
Severity
4.8 (Medium)
CWE
- CWE-347 - Improper Verification of Cryptographic Signature
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/msgbyte/tianji/blob/v2.1.0/src… | technical-description |
| https://github.com/msgbyte/tianji/blob/v2.1.0/src… | technical-description |
| https://github.com/msgbyte/tianji/blob/v2.1.0/src… | technical-description |
| https://www.vulncheck.com/advisories/tianji-throu… | third-party-advisory |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:github/msgbyte/tianji",
"product": "Tianji",
"repo": "https://github.com/msgbyte/tianji",
"vendor": "msgbyte",
"versions": [
{
"lessThanOrEqual": "2.1.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Zachariah Mithani (AploSec)"
}
],
"descriptions": [
{
"lang": "en",
"value": "Tianji through 2.1.0 contains an authentication bypass vulnerability in the LemonSqueezy billing webhook that allows unauthenticated attackers to forge events because LEMON_SQUEEZY_SIGNATURE_SECRET defaults to an empty HMAC key. Attackers can sign forged subscription_updated events to change workspace tiers, pausing analytics ingestion, upgrading to paid tiers, or adding AI credits."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "HIGH",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "LOW",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "LOW"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 4.8,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-347",
"description": "Improper Verification of Cryptographic Signature",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-12-02T16:48:26.143Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"tags": [
"technical-description"
],
"url": "https://github.com/msgbyte/tianji/blob/v2.1.0/src/server/router/billing.ts#L18-L27"
},
{
"tags": [
"technical-description"
],
"url": "https://github.com/msgbyte/tianji/blob/v2.1.0/src/server/router/billing.ts#L133-L144"
},
{
"tags": [
"technical-description"
],
"url": "https://github.com/msgbyte/tianji/blob/v2.1.0/src/server/model/billing/index.ts#L57-L69"
},
{
"name": "VulnCheck Advisory: Tianji through 2.1.0 Authentication Bypass via LemonSqueezy Webhook Empty HMAC Key",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/tianji-through-2.1.0-authentication-bypass-via-lemonsqueezy-webhook-empty-hmac-key"
}
],
"title": "Tianji through 2.1.0 Authentication Bypass via LemonSqueezy Webhook Empty HMAC Key",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-142323",
"datePublished": "2026-12-02T16:48:26.143Z",
"dateReserved": "2026-12-02T15:29:23.456Z",
"dateUpdated": "2026-12-02T16:48:26.143Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-55240 (GCVE-0-2026-55240)
Vulnerability from cvelistv5 – Published: 2026-10-15 18:15 – Updated: 2026-10-28 20:04
VLAI
EPSS
VEX
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.
Severity
9.1 (Critical)
SSVC
Exploitation: poc
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-28 20:04 UTC
CWE
- CWE-1336 - Improper Neutralization of Special Elements Used in a Template Engine
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/msgbyte/tianji/security/adviso… | x_refsource_CONFIRM |
| https://github.com/msgbyte/tianji/commit/132ff679… | x_refsource_MISC |
| https://github.com/msgbyte/tianji/releases/tag/v1.31.29 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-55240",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-28T20:04:51.050574Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-28T20:04:59.360Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/msgbyte/tianji/security/advisories/GHSA-5grg-j3cr-3hpm"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "tianji",
"vendor": "msgbyte",
"versions": [
{
"status": "affected",
"version": "\u003c 1.31.29"
}
]
}
],
"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 \u003c% code %\u003e 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."
}
],
"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"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-1336",
"description": "CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-15T18:15:12.957Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"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"
}
],
"source": {
"advisory": "GHSA-5grg-j3cr-3hpm",
"discovery": "UNKNOWN"
},
"title": "Tianji: Remote Code Execution via lodash template evaluate pattern in survey feed templates"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-55240",
"datePublished": "2026-10-15T18:15:12.957Z",
"dateReserved": "2026-06-16T16:44:00.624Z",
"dateUpdated": "2026-10-28T20:04:59.360Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-55239 (GCVE-0-2026-55239)
Vulnerability from cvelistv5 – Published: 2026-10-15 18:14 – Updated: 2026-10-21 01:02
VLAI
EPSS
VEX
Title
Tianji: SQL Injection via unsanitized timezone parameter in analytics queries
Summary
Tianji is an open source analytics, uptime monitoring, and server status platform. Prior to 1.31.29, the getDateQuery() function in src/server/utils/prisma.ts constructs raw SQL through Prisma.sql() by interpolating the timezone request value without parameter binding. The timezone value can reach affected analytics queries through request data or the timezone HTTP header, and workspaceProcedure permits any authenticated workspace member, including a read-only viewer, to reach those queries. An attacker can execute arbitrary SQL against the shared PostgreSQL database, which can disclose or modify credentials, API keys, and tenant data or make the service unavailable. This issue is fixed in version 1.31.29.
Severity
8.8 (High)
SSVC
Exploitation: none
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-21 01:02 UTC
CWE
- CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/msgbyte/tianji/security/adviso… | x_refsource_CONFIRM |
| https://github.com/msgbyte/tianji/commit/132ff679… | x_refsource_MISC |
| https://github.com/msgbyte/tianji/releases/tag/v1.31.29 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-55239",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-21T01:02:18.682889Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-21T01:02:29.450Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "tianji",
"vendor": "msgbyte",
"versions": [
{
"status": "affected",
"version": "\u003c 1.31.29"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Tianji is an open source analytics, uptime monitoring, and server status platform. Prior to 1.31.29, the getDateQuery() function in src/server/utils/prisma.ts constructs raw SQL through Prisma.sql() by interpolating the timezone request value without parameter binding. The timezone value can reach affected analytics queries through request data or the timezone HTTP header, and workspaceProcedure permits any authenticated workspace member, including a read-only viewer, to reach those queries. An attacker can execute arbitrary SQL against the shared PostgreSQL database, which can disclose or modify credentials, API keys, and tenant data or make the service unavailable. This issue is fixed in version 1.31.29."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-89",
"description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-15T18:14:21.918Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/msgbyte/tianji/security/advisories/GHSA-v9jm-vvrj-53c4",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/msgbyte/tianji/security/advisories/GHSA-v9jm-vvrj-53c4"
},
{
"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"
}
],
"source": {
"advisory": "GHSA-v9jm-vvrj-53c4",
"discovery": "UNKNOWN"
},
"title": "Tianji: SQL Injection via unsanitized timezone parameter in analytics queries"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-55239",
"datePublished": "2026-10-15T18:14:21.918Z",
"dateReserved": "2026-06-16T16:44:00.624Z",
"dateUpdated": "2026-10-21T01:02:29.450Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}