{"id":"CVE-2025-30206","published":"2025-04-15T19:14:41Z","modified":"2025-04-15T19:58:52Z","title":"Dpanel's hard-coded JWT secret leads to remote code execution","vendor":"donknap","product":"dpanel","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00902,"percentile":0.60574,"provenance":"source"},"cwes":[{"id":"CWE-321","name":"Use of Hard-coded Cryptographic Key"},{"id":"CWE-453","name":"Insecure Default Variable Initialization"},{"id":"CWE-547","name":"Use of Hard-coded, Security-relevant Constants"}],"references":[{"url":"https://github.com/donknap/dpanel/security/advisories/GHSA-j752-cjcj-w847","tags":["x_refsource_CONFIRM"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":12.11},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"donknap","affectedVersions":[{"vendor":"donknap","product":"dpanel","versions":["< 1.6.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-15T19:58:33.579367Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/donknap/dpanel","vulnerableRanges":["<1.6.1"],"patched":["1.6.1"],"from":["GHSA-j752-cjcj-w847","GO-2025-3612"],"provenance":"source"}],"summary":{"text":"DPanel, a Docker management panel from donknap, ships with a hard-coded JWT signing secret in its default configuration. An attacker with network access to the service can forge valid JWT tokens using that embedded secret, bypassing authentication and gaining administrative control of the host, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:32Z"},"euvd":{"id":"EUVD-2025-10989","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-30206","published":"2025-04-15","fixed":"1.6.1","kev":false},{"cve":"CVE-2025-66292","published":"2026-01-15","fixed":"1.9.2","kev":false,"link":{"from":"CVE-2025-30206","to":"CVE-2025-66292","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/donknap/dpanel","fromFixed":"1.6.1","toFixed":"1.9.2","daysApart":275}]}}],"package":"Go:github.com/donknap/dpanel"}}