CVE-2026-116485: danmu_api before 1.21.7 Authentication Bypass via Default Token in Env Endpoints
danmuapi 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 ADMINTOKEN is unset. Attackers can send POST requests to /api/env/set, /api/env/add, or /api/env/del to set ADMINTOKEN, lock out operators, redirect OTHERSERVER or PROXYURL for SSRF, and trigger redeployment.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
danmu_apito a version that resolves this vulnerability.Fixed in 1.21.7