Copy
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.83794
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: 4a0a0047304502210087321e297003cbb836863539187202a36b069594b521f557b019219069ea11ff02202206b584df55b91efea8dadc08cc9b4c02795f89261d172a776dbeed75234507:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.