CVE-2026-116485
danmu_api before 1.21.7 Authentication Bypass via Default Token in Env Endpoints
huangxd- danmu_api
CVSS
9.3CriticalExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
What fixes it
- 1.21.7danmu_apiCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 2
- danmu_apiaffected: all versions before 1.21.7CVE List
- danmu_apiunaffected: 1.21.7CVE List
References 5
- github.com/huangxd-/danmu_api/commit/6e93478064a0ce4e7ed3bc2eae88adaad1b7ab02Fixvia CVE List
- vulncheck.com/advisories/danmu-api-before-1.21.7-authentication-bypass-via-default-token-in-env-endpointsAdvisoryvia CVE List
- github.com/huangxd-/danmu_api/issues/531Referencevia CVE List
- github.com/huangxd-/danmu_api/blob/5ef63a01bae7c4bad4dcd7bafbbcdcf33aa82564/danmu_api/worker.js#L223-L244Referencevia CVE List
- github.com/huangxd-/danmu_apiReferencevia CVE List