CVE-2025-30206

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

Published Apr 15, 2025 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-10989 Dpanel's hard-coded JWT secret leads to remote code execution
Github GHSA Github GHSA GHSA-j752-cjcj-w847 Dpanel's hard-coded JWT secret leads to remote code execution
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Dpanel's hard-coded JWT secret leads to remote code execution
Weaknesses CWE-321
CWE-453
CWE-547
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-321

    Use of Hard-coded Cryptographic Key

  • CWE-453

    Insecure Default Variable Initialization

  • CWE-547

    Use of Hard-coded, Security-relevant Constants

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 15, 2025, 7:58 PM
Reserved
Mar 18, 2025, 6:15 PM
Status
Deferred
Published
Apr 15, 2025, 8:15 PM
Modified
Jun 17, 2026, 9:08 AM