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.
Published: 2026-10-26
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: Authentication bypass allowing unauthenticated modification of server environment configuration
Action: Immediate Patch
AI Analysis

Impact

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. Because the exploit can be performed over the network via simple POST requests to publicly reachable endpoints and the EPSS value is not available, there is no formal estimate of exploitation frequency, but 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.

Generated by OpenCVE AI on October 26, 2026 at 15:39 UTC.

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 26, 2026 at 15:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 14:00:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-26T13:08:51.363Z

Reserved: 2026-10-26T11:37:37.536Z

Link: CVE-2026-116485

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-26T14:16:37.040

Modified: 2026-10-26T14:16:37.040

Link: CVE-2026-116485

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T15:45:12Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function