# CVE-2026-116485: danmu_api before 1.21.7 Authentication Bypass via Default Token in Env Endpoints

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.35%, higher than 84% of CVEs (2026-12-01)
- Published: 2026-10-26T13:08:51.363Z
- Modified: 2026-11-02T18:18:43.053Z
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- huangxd- danmu_api: before 1.21.7 (not affected: 1.21.7)

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/huangxd-/danmu_api/issues/531> (issue-tracking)
- <https://github.com/huangxd-/danmu_api/commit/6e93478064a0ce4e7ed3bc2eae88adaad1b7ab02> (patch)
- <https://github.com/huangxd-/danmu_api/blob/5ef63a01bae7c4bad4dcd7bafbbcdcf33aa82564/danmu_api/worker.js#L223-L244> (technical-description)
- <https://github.com/huangxd-/danmu_api> (product)
- <https://www.vulncheck.com/advisories/danmu-api-before-1.21.7-authentication-bypass-via-default-token-in-env-endpoints> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-116485](https://www.cve.org/CVERecord?id=CVE-2026-116485), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-116485](https://nvd.nist.gov/vuln/detail/CVE-2026-116485), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-116485 · Whole record: https://cve.day/CVE-2026-116485.json · Rebuilt by cve.day 2026-11-25T22:59:47.129Z
