CVE-2026-116485
danmu_api before 1.21.7 contains an authentication bypass …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/huangxd-/danmu_api
- github.com/huangxd-/danmu_api/blob/5ef63a01bae7c4bad4dcd7bafbbcdcf33aa82564/danmu_api/work
- github.com/huangxd-/danmu_api/commit/6e93478064a0ce4e7ed3bc2eae88adaad1b7ab02
- github.com/huangxd-/danmu_api/issues/531
- www.vulncheck.com/advisories/danmu-api-before-1.21.7-authentication-bypass-via-default-tok
- nvd.nist.gov/vuln/detail/CVE-2026-116485
- cve.org/CVERecord?id=CVE-2026-116485
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.