CVE-2026-116485
published critical CVSS 4.0 · 9.3danmu_api before 1.21.7 Authentication Bypass via Default Token in Env Endpoints
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| huangxd- | — | danmu_api0 to < 1.21.7 (affected · custom) · 1.21.7 (unaffected · custom) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| huangxd- | danmu_api | 0 to < 1.21.7 (affected · custom)1.21.7 (unaffected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-306 Missing Authentication for Critical Function
References
5- https://github.com/huangxd-/danmu_api
- https://github.com/huangxd-/danmu_api/blob/5ef63a01bae7c4bad4dcd7bafbbcdcf33aa82564/danmu_api/worker.js#L223-L244
- Fix Commit https://github.com/huangxd-/danmu_api/commit/6e93478064a0ce4e7ed3bc2eae88adaad1b7ab02
- GitHub Issue #531 https://github.com/huangxd-/danmu_api/issues/531
- VulnCheck Advisory: danmu_api before 1.21.7 Authentication Bypass via Default Token in Env Endpoints https://www.vulncheck.com/advisories/danmu-api-before-1.21.7-authentication-bypass-via-default-token-in-env-endpoints
Provider assertions
2VulnCheck · cna
danmu_api before 1.21.7 Authentication Bypass via Default Token in Env Endpoints
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 006574f8da1db22265ef7f68d878d8031d496e7776cefdd74abfc15cff4ec28c
- Ingested
- 02 Nov 2026, 17:40:06 UTC
- Source record
- Official CVE record