# CVE-2026-142323: Tianji through 2.1.0 Authentication Bypass via LemonSqueezy Webhook Empty HMAC Key

Source: https://aplosec.si/cve/CVE-2026-142323/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142323

Medium 6.3 · Reported · No fix listed · CWE-347 · Server

# Tianji through 2.1.0 Authentication Bypass via LemonSqueezy Webhook Empty HMAC Key

CVE-2026-142323 · published 2026-12-02

In plain words: this type of bug lets someone pass off forged or altered data as genuine (missing integrity or signature check). No fixed release is listed yet.

## Summary

CVE-2026-142323 affects Tianji (Server) <= 2.1.0: Authentication Bypass via LemonSqueezy Webhook Empty HMAC Key (CWE-347). No fixed release is listed. CVSS 4.0 base score 6.3 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/tianji-through-2.1.0-authentication-bypass-via-lemonsqueezy-webhook-empty-hmac-key](https://www.vulncheck.com/advisories/tianji-through-2.1.0-authentication-bypass-via-lemonsqueezy-webhook-empty-hmac-key)

- [Vulnerable codehttps://github.com/msgbyte/tianji/blob/v2.1.0/src/server/router/billing.ts#L18-L27](https://github.com/msgbyte/tianji/blob/v2.1.0/src/server/router/billing.ts#L18-L27)

- [Vulnerable codehttps://github.com/msgbyte/tianji/blob/v2.1.0/src/server/router/billing.ts#L133-L144](https://github.com/msgbyte/tianji/blob/v2.1.0/src/server/router/billing.ts#L133-L144)

- [Vulnerable codehttps://github.com/msgbyte/tianji/blob/v2.1.0/src/server/model/billing/index.ts#L57-L69](https://github.com/msgbyte/tianji/blob/v2.1.0/src/server/model/billing/index.ts#L57-L69)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142323](https://www.cve.org/CVERecord?id=CVE-2026-142323)

**Severity:** Medium 6.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142323)

**Package:** Tianji

**Ecosystem:** Server

**Affected:** <= 2.1.0

**Fixed:** None

**Weakness:** CWE-347

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
