Skip to content
CVE PROGRAM SOURCE RECORD9.3 Critical

CVE-2026-116485

danmu_api before 1.21.7 Authentication Bypass via Default Token in Env Endpoints

Description

danmu_api before 1.21.7 contains an authentication bypass vulnerability that allows unauthenticated attackers to modify server environment configuration when the default TOKEN is used and ADMIN_TOKEN is unset. Attackers can send POST requests to /api/env/set, /api/env/add, or /api/env/del to set ADMIN_TOKEN, lock out operators, redirect OTHER_SERVER or PROXY_URL for SSRF, and trigger redeployment.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

huangxd- danmu_api

Default version status: unaffected

  • 0 to < 1.21.7affected
  • 1.21.7unaffected

References