CVE-2026-116485
9.8 CRITICALpublic exploit availablePublished 2026-10-26 · Updated 2026-10-26
AI risk analysis
- Summary
- danmu_api before 1.21.7 lacks proper authentication checks on environment configuration endpoints, allowing unauthenticated attackers to modify critical server settings when ADMIN_TOKEN is unset and the default TOKEN is in use, enabling full system compromise via SSRF, token hijacking, and forced redeployment.
- Exploitability
- Trivial to exploit remotely with no privileges or user interaction required, but only works if ADMIN_TOKEN is unset and the default TOKEN is active.
- Blast radius
- Complete system compromise including credential theft, internal network pivoting via SSRF, and potential service disruption through forced redeployment.
- Detection
- Unauthenticated POST requests to /api/env/set, /api/env/add, or /api/env/del endpoints; look for such requests in access logs without valid ADMIN_TOKEN or session cookies.
- Prioritized remediation
- Upgrade to danmu_api version 1.21.7 or later, which patches the authentication bypass vulnerability.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-306
Public exploit & PoC references
All references
- https://github.com/huangxd-/danmu_api
- https://github.com/huangxd-/danmu_api/blob/5ef63a01bae7c4bad4dcd7bafbbcdcf33aa82564/danmu_api/worker.js#L223-L244
- https://github.com/huangxd-/danmu_api/commit/6e93478064a0ce4e7ed3bc2eae88adaad1b7ab02
- https://github.com/huangxd-/danmu_api/issues/531
- https://www.vulncheck.com/advisories/danmu-api-before-1.21.7-authentication-bypass-via-default-token-in-env-endpoints
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-17406
- CRITICALCVE-2026-103956PoC
- CRITICALCVE-2026-105110PoC
- CRITICALCVE-2026-105192PoC
- HIGHCVE-2026-111650PoC
- HIGHCVE-2026-114085PoC
- CRITICALCVE-2026-119990
- CRITICALCVE-2026-123270PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.