CVE-2026-142323: Tianji through 2.1.0 Authentication Bypass via LemonSqueezy Webhook Empty HMAC Key
Tianji through 2.1.0 contains an authentication bypass vulnerability in the LemonSqueezy billing webhook that allows unauthenticated attackers to forge events because LEMONSQUEEZYSIGNATURESECRET defaults to an empty HMAC key. Attackers can sign forged subscriptionupdated events to change workspace tiers, pausing analytics ingestion, upgrading to paid tiers, or adding AI credits.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Set LEMON_SQUEEZY_SIGNATURE_SECRET to a non-empty HMAC secret instead of allowing it to default to an empty key.
Tianji LemonSqueezy billing webhook LEMON_SQUEEZY_SIGNATURE_SECRET = non-empty HMAC secret
Event History
Frequently Asked Questions
Which deployments are exposed?
Tianji deployments through version 2.1.0 are exposed when the LemonSqueezy billing webhook is enabled and LEMON_SQUEEZY_SIGNATURE_SECRET is left at its default empty value.
What does an attacker need to exploit this issue?
An attacker does not need authentication or user interaction. They need to forge a LemonSqueezy subscription_updated webhook event signed using the empty HMAC key.
What is the practical impact of a forged event?
Forged events can change workspace tiers, pause analytics ingestion, upgrade workspaces to paid tiers, or add AI credits.
What should be checked to determine whether a deployment is affected?
Check the deployed Tianji version and the value of LEMON_SQUEEZY_SIGNATURE_SECRET. Deployments through 2.1.0 with this secret unset or empty are affected.
What can be done if updating is not immediately possible?
Set LEMON_SQUEEZY_SIGNATURE_SECRET to a non-empty secret so webhook signatures cannot be generated with the default empty key.