CVE-2026-116485

danmu_api before 1.21.7 Authentication Bypass via Default Token in Env Endpoints

State
Published
Severity
9.3 Critical
Published
Oct 26, 2026
Updated
Oct 26, 2026
Reserved
Oct 26, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.09.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HVulnCheck

Weaknesses

  • CWE-306 Missing Authentication for Critical Function

Affected Products

ProductVersions
danmu_apihuangxd-
  • before 1.21.7Affected
  • 1.21.7Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.