← Back to search

CVE-2026-116485

9.8 CRITICALpublic exploit available

Published 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.
auth-bypassssrfenv-manipulationweb-apicritical

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

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.