{"id":"CVE-2026-116485","title":"danmu_api before 1.21.7 Authentication Bypass via Default Token in Env Endpoints","summary":"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 req…","severity":"critical","cvss":9.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-306"],"vendor":"huangxd-","product":"danmu_api","affected":["danmu_api < 1.21.7"],"published":"2026-10-26","updated":"2026-10-26","sourceUpdated":"2026-10-26T13:08:51.363Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-116485","references":[{"url":"https://github.com/huangxd-/danmu_api/issues/531","label":"GitHub Issue #531"},{"url":"https://github.com/huangxd-/danmu_api/commit/6e93478064a0ce4e7ed3bc2eae88adaad1b7ab02","label":"Fix Commit"},{"url":"https://github.com/huangxd-/danmu_api/blob/5ef63a01bae7c4bad4dcd7bafbbcdcf33aa82564/danmu_api/worker.js#L223-L244"},{"url":"https://github.com/huangxd-/danmu_api"},{"url":"https://www.vulncheck.com/advisories/danmu-api-before-1.21.7-authentication-bypass-via-default-token-in-env-endpoints","label":"VulnCheck Advisory: danmu_api before 1.21.7 Authentication Bypass via Default Token in Env Endpoints"}],"tags":["cve.org"],"ingestedAt":"2026-10-26T14:27:31.829Z","slug":"CVE-2026-116485","body":"## Overview\n\ndanmu_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.\n\n## Affected\n\n- `danmu_api < 1.21.7`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":54,"depthScoreParts":{"impact":53.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}