CVE-2026-116485 Details
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.
A vulnerability allowing authentication bypass has been identified in danmu_api versions prior to 1.21.7. This issue arises from the default TOKEN value of '87654321' being active while the ADMIN_TOKEN is unset. Exploitation of this vulnerability allows unauthenticated attackers to send POST requests to the '/api/env/set', '/api/env/add', or '/api/env/del' endpoints. Attackers can manipulate the ADMIN_TOKEN, disrupt operator access, redirect server environment variables for Server-Side Request Forgery (SSRF) attacks, and initiate a redeployment process.
Users are advised to update danmu_api to version 1.21.7 or later, and to configure a custom ADMIN_TOKEN before deploying the application.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 26, 2026CISA-ADP
Assessed Nov 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/huangxd-/danmu_api | [email protected] | ProductSource CodeVendor |
| https://github.com/huangxd-/danmu_api/blob/5ef63a01bae7c4bad4dcd7bafbbcdcf33aa82564/danmu_api/worker.js#L223-L244 | [email protected] | Source CodeVendor |
| https://github.com/huangxd-/danmu_api/commit/6e93478064a0ce4e7ed3bc2eae88adaad1b7ab02 | [email protected] | Source CodeVendor |
| https://github.com/huangxd-/danmu_api/issues/531 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/danmu-api-before-1.21.7-authentication-bypass-via-default-token-in-env-endpoints | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| huangxd- danmu_api | >= 0, < 1.21.7 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 2, 2026 | CVE Modified | CISA-ADP |
| Oct 26, 2026 | New CVE Received | [email protected] |
Volerion