Skip to content
Back to search

CVE-2026-116485

CRITICAL
9.8NVD

Summary

generated automatically from NVD data

danmu_api before 1.21.7 has a missing-authentication flaw (CWE-306) that applies when the default TOKEN is in use and ADMIN_TOKEN is unset. An unauthenticated remote attacker can send POST requests to /api/env/set, /api/env/add, or /api/env/del to change the server's environment configuration. This lets them set ADMIN_TOKEN to lock out operators, redirect OTHER_SERVER or PROXY_URL to enable SSRF, and trigger redeployment. The CVSS v3.1 score is 9.8 (CRITICAL).

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.

Share:

In-depth analysis on cveo.tech

This CVE is covered in an article: context, affected versions and published fixes.

Similar CVEs

Other vulnerabilities of type CWE-306

…

Know which CVEs hit the versions you run.

Add the product and its version: cveo.tech lists the CVEs that affect it right away, then alerts you by email when a new one affects it — including before NVD has finished its analysis. Free, an account is all it takes.