Skip to content
Heist/ feed
Back to feed
Critical

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-30206
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 20:19 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 15 Apr 2025, 19:14 UTC

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.

osv:CVE-2025-30206
Complete source record
{
  "id": "0797457ca8b405ee08fd494fb5bb6c45ee8b01bdb1e753069c32751ab32fa7f1",
  "url": "https://osv.dev/vulnerability/CVE-2025-30206",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Dpanel's hard-coded JWT secret leads to remote code execution",
    "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.",
    "evidence": "osv:CVE-2025-30206",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2025-30206",
      "aliases": [
        "CVE-2025-30206",
        "GHSA-j752-cjcj-w847",
        "GO-2025-3612"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/donknap/dpanel",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9e83c6fc76b6d0dd0bfbc5dcd1be4a5c159d1c2a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.6.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.6.1"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.6.0",
            "v1.5.4",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.1",
            "v1.4.0",
            "v1.3.4",
            "v1.3.3",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0",
            "v1.2.6",
            "v1.2.5",
            "v1.2.4",
            "v1.2.3",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.4",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.4.2",
            "v1.0.4.1",
            "v1.0.4",
            "v1.0.3",
            "v1.0.2.4",
            "v1.0.2.1",
            "v1.0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-30206.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.334766315Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30206.json",
        "https://github.com/donknap/dpanel/security/advisories/GHSA-j752-cjcj-w847",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-30206"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-321",
          "CWE-453",
          "CWE-547"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/30xxx/CVE-2025-30206.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-30206",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 506603,
  "published_at": "2025-04-15T19:14:41.45+00:00"
}