CVE-2026-116485 huangxd- · danmu_api
9.8 Critical
AI summary
danmu_api before 1.21.7 lets remote unauthenticated attackers modify server environment configuration when the default TOKEN is used and ADMIN_TOKEN is unset, enabling operator lockout, SSRF redirection and redeployment. Critical (CVSS 9.8); upgrade to 1.21.7 or set non-default tokens.
Official 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.
- Published
- 2026-10-26 14:16 UTC
- Modified
- 2026-11-02 18:18 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 3.02% (percentile 88)
- ENISA EUVD
- EUVD-2026-109812
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-306
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/huangxd-/danmu_api - github.com
https://github.com/huangxd-/danmu_api/blob/5ef63a01bae7c4bad4dcd7bafbbcdcf33aa82564/danmu_api/worker.js#L223-L244 - github.com
https://github.com/huangxd-/danmu_api/commit/6e93478064a0ce4e7ed3bc2eae88adaad1b7ab02 - github.com
https://github.com/huangxd-/danmu_api/issues/531 - www.vulncheck.com
https://www.vulncheck.com/advisories/danmu-api-before-1.21.7-authentication-bypass-via-default-token-in-env-endpoints