CVE Catalog

CVE-2026-116485

CriticalCVSS 9.8
Published: Translated: NVD NIST

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 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.

Risk Assessment

An unauthenticated attacker could gain administrative control over the application, lock out operators, and use SSRF to reach internal resources.

Recommendation

Update danmu_api to version 1.21.7 or later and immediately change the default TOKEN and set a strong ADMIN_TOKEN. Restrict network access to the API interface.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS