Skip to content
Threat Feed
critical advisory

danmu_api: Authentication bypass via default configuration (CVE-2026-116485)

An authentication bypass vulnerability in danmu_api before 1.21.7 allows unauthenticated attackers to modify server environment configurations and facilitate SSRF through crafted POST requests to environment management endpoints.

CVE search metadata

CVE search record: CVE-2026-116485. Severity: critical. CVSS: 9.8. KEV: no. Product: danmu_api (< 1.21.7). Brief: danmu_api: Authentication bypass via default configuration (CVE-2026-116485). Brief link: https://feed.craftedsignal.io/briefs/2026-10-danmu-api-auth-bypass/

Triage facts

Revision 1
Applicability
danmu_api (< 1.21.7)
Evidence
Unknown
Severity
Critical
Action
Immediate escalation
Sources
3 public sources
Freshness
Revision 1Oct 26, 17:03 UTC
Detection
1 rule
Vulnerabilities
1 CVE
Source quality
B2Very likely

danmu_api versions prior to 1.21.7 are vulnerable to an unauthenticated authentication bypass when the 'ADMIN_TOKEN' environment variable is not explicitly configured, causing the application to fall back to a default token. Attackers can leverage this to send malicious requests to environment modification endpoints, leading to full configuration takeover.

Attack Chain

  1. Discovery: Attacker identifies a target running a vulnerable version of danmu_api with default configuration.
  2. Access: Attacker interacts with the API using the known default token.
  3. Exploitation: Attacker sends POST requests to '/api/env/set', '/api/env/add', or '/api/env/del'.
  4. Configuration Modification: Attacker updates 'ADMIN_TOKEN' to take control, or modifies 'OTHER_SERVER' or 'PROXY_URL'.
  5. Impact: Attacker executes arbitrary configuration changes, including redeployment or redirecting traffic for Server-Side Request Forgery (SSRF).

Impact

Successful exploitation allows unauthenticated attackers to gain administrative control over the danmu_api instance. This can lead to persistent lockout of legitimate operators, arbitrary server environment modification, and server-side request forgery (SSRF) by manipulating proxy and server URLs.

Recommendation

  • Update danmu_api to version 1.21.7 or later immediately.
  • If upgrading is not immediately possible, explicitly set the 'ADMIN_TOKEN' environment variable to a strong, unique value to override the vulnerable default.
  • Review server environment configuration for unauthorized modifications using the hunt leads provided below.

Immediate actions

Patch danmu_api to version 1.21.7 or later

IT Operations 24h

Threat Hunt

Search web logs for POST requests to /api/env/ paths originating from unexpected source IPs

T1190 high high confidence hunt now

Data: Web access logs (Method, URL)

Mitigations

Set a unique ADMIN_TOKEN environment variable

immediate IT Operations

CVE-2026-116485

Detection coverage 1

Detect CVE-2026-116485 Exploitation - Unauthenticated Environment Modification

critical

Detects exploitation attempts against danmu_api environment configuration endpoints

sigma tactics: impact, initial_access, persistence techniques: T1190 sources: webserver

Detection queries are available on the platform. Get full rules →