{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "2.1.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "04052ba908ea60b7cefe9d16c6329ce280136642"
            }
          ],
          "repo": "https://github.com/msgbyte/tianji",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-347"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142323.json"
  },
  "details": "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.",
  "id": "CVE-2026-142323",
  "modified": "2026-12-02T22:45:19.001269279Z",
  "published": "2026-12-02T16:48:26.143Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142323.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/msgbyte/tianji"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/msgbyte/tianji/blob/v2.1.0/src/server/model/billing/index.ts#L57-L69"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/msgbyte/tianji/blob/v2.1.0/src/server/router/billing.ts#L133-L144"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/msgbyte/tianji/blob/v2.1.0/src/server/router/billing.ts#L18-L27"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142323"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/tianji-through-2.1.0-authentication-bypass-via-lemonsqueezy-webhook-empty-hmac-key"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Tianji through 2.1.0 Authentication Bypass via LemonSqueezy Webhook Empty HMAC Key"
}