CVE-2026-116485 PUBLISHED

danmu_api before 1.21.7 Authentication Bypass via Default Token in Env Endpoints

Assigner: VulnCheck
Reserved: 26.10.2026 Published: 26.10.2026 Updated: 26.10.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 9.3

Product Status

Vendor huangxd-
Product danmu_api
Versions Default: unaffected
  • affected from 0 to 1.21.7 (excl.)
  • Version 1.21.7 is unaffected

Credits

  • George Chen finder

References

Problem Types

  • Missing Authentication for Critical Function CWE