{"id":"CVE-2026-116485","published":"2026-10-26T14:16:37.040","lastModified":"2026-10-26T18:41:21.450","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.","cvssScore":9.8,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-306"],"vendors":[],"products":[],"references":[{"url":"https://github.com/huangxd-/danmu_api","tags":[]},{"url":"https://github.com/huangxd-/danmu_api/blob/5ef63a01bae7c4bad4dcd7bafbbcdcf33aa82564/danmu_api/worker.js#L223-L244","tags":[]},{"url":"https://github.com/huangxd-/danmu_api/commit/6e93478064a0ce4e7ed3bc2eae88adaad1b7ab02","tags":[]},{"url":"https://github.com/huangxd-/danmu_api/issues/531","tags":[]},{"url":"https://www.vulncheck.com/advisories/danmu-api-before-1.21.7-authentication-bypass-via-default-token-in-env-endpoints","tags":[]}],"exploitRefs":[{"url":"https://github.com/huangxd-/danmu_api","tags":[]},{"url":"https://github.com/huangxd-/danmu_api/blob/5ef63a01bae7c4bad4dcd7bafbbcdcf33aa82564/danmu_api/worker.js#L223-L244","tags":[]},{"url":"https://github.com/huangxd-/danmu_api/commit/6e93478064a0ce4e7ed3bc2eae88adaad1b7ab02","tags":[]},{"url":"https://github.com/huangxd-/danmu_api/issues/531","tags":[]}],"hasPoc":true,"ai":null}