CVE-2026-116485

danmu_api before 1.21.7 Authentication Bypass via Default Token in Env Endpoints

Published Oct 26, 2026 CVSS 4.0 · 9.3 Critical EPSS 2.3% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Based on the description, it is inferred that unauthenticated attackers can reach the /api/env endpoints and alter environment variables when the application is running with the default TOKEN and no ADMIN_TOKEN has been set. This allows the attacker to set or change ADMIN_TOKEN, lock out existing operators, redirect the OTHER_SERVER or PROXY_URL parameters to malicious destinations creating a Server‑Side Request Forgery vector, and trigger a redeployment of the service. The weakness is a classic credential exposure (CWE‑306), enabling full configuration control without proper authentication.

Affected Systems

The vulnerability affects the danmu_api application from the vendor huangxd‑:danmu_api, specifically all releases before version 1.21.7. No additional vendor versions or sub‑components are listed in the CNA data.

Risk and Exploitability

The CVSS base score of 9.3 marks this issue as critical. Based on the description, it is inferred that the exploit can be performed over the network via simple POST requests to publicly reachable endpoints, and the EPSS score of 2% indicates a modest likelihood of exploitation. The lack of authentication and default token usage make successful attacks highly likely. The vulnerability is not yet listed in CISA’s KEV catalog, yet its severity and the unprotected nature of the endpoints imply an urgent response.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade danmu_api to version 1.21.7 or a later release that removes the default token behavior.
  • If upgrade is not immediately possible, configure the deployment to set an explicit ADMIN_TOKEN environment variable so that the default token is not used.
  • Restrict access to the /api/env endpoints by firewalling or enabling IP restrictions until the application is patched.

Generated by OpenCVE AI on October 28, 2026 at 14:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Huangxd-
Huangxd- danmu Api
Vendors & Products Huangxd-
Huangxd- danmu Api
Type Values Removed Values Added
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.
Title danmu_api before 1.21.7 Authentication Bypass via Default Token in Env Endpoints
Weaknesses CWE-306
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 2, 2026, 5:36 PM
Reserved
Oct 26, 2026, 11:37 AM
Status
Deferred
Published
Oct 26, 2026, 2:16 PM
Modified
Nov 2, 2026, 6:18 PM