Vulnerability · Published Oct 26, 2026 · Assigned by VulnCheck
CVE-2026-116485danmu_api before 1.21.7 Authentication Bypass via Default Token in Env Endpoints
Critical 9.8
In plain English
A critical-severity missing authentication in danmu_api from huangxd-. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 84% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei.
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.
Affected products (as reported)
Weakness: CWE-306 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- GitHub Issue #531 issue-tracking
- Fix Commit patch
- https://github.com/huangxd-/danmu_api/blob/5ef63a01bae7c4bad4dcd7bafbbcdcf33aa82564/danmu_api/worker.js#L223-L244 technical-description
- https://github.com/huangxd-/danmu_api product
- VulnCheck Advisory: danmu_api before 1.21.7 Authentication Bypass via Default Token in Env Endpoints third-party-advisory