Skip to content
Fencer Vulns
critical 9.8

CVE-2025-30206 json

Dpanel's hard-coded JWT secret leads to remote code execution

published 2025-04-15 18 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-10989 , GHSA-j752-cjcj-w847 , GO-2025-3612

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 59%
public exploits
0
none known

Summary

Dpanel is a Docker visualization panel system which provides complete Docker management functions. The Dpanel service contains a hardcoded JWT secret in its default configuration, allowing attackers to generate valid JWT tokens and compromise the host machine. This security flaw allows attackers to analyze the source code, discover the embedded secret, and craft legitimate JWT tokens. By forging these tokens, an attacker can successfully bypass authentication mechanisms, impersonate privileged users, and gain unauthorized administrative access. Consequently, this enables full control over the host machine, potentially leading to severe consequences such as sensitive data exposure, unauthorized command execution, privilege escalation, or further lateral movement within the network environment. This issue is patched in version 1.6.1. A workaround for this vulnerability involves replacing the hardcoded secret with a securely generated value and load it from secure configuration storage.

Patch / fix

  • go github.com/donknap/dpanel 1.6.1
  • dpanel dpanel 1.6.1
  • govulncheck-vulndb openSUSE Tumbleweed 0.0.20250422T181640-1.1

opensuse advisories openSUSE-SU-2025:15017-1

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
total
Assessed
18 mo ago

Exploit prediction

0.90% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/donknap/dpanel
<1.6.1
1.6.1

Affected products

  • donknap dpanel

Classification

Weakness
  • CWE-321 Use of Hard-coded Cryptographic Key
  • CWE-453 Insecure Default Variable Initialization
  • CWE-547 Use of Hard-coded, Security-relevant Constants

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.