# CVE-2025-30206: Dpanel's hard-coded JWT secret leads to remote code execution

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.90%, higher than 60% of CVEs (2026-12-01)
- Published: 2025-04-15T14:17:25.000Z
- Modified: 2026-06-17T09:08:21.297Z
- Also known as: GHSA-j752-cjcj-w847, GO-2025-3612
- Weaknesses: CWE-321, CWE-453, CWE-547
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- donknap dpanel: < 1.6.1
- github.com/donknap/dpanel (Go): before 1.6.1

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/donknap/dpanel/security/advisories/GHSA-j752-cjcj-w847> (advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-30206> (advisory)
- <https://github.com/donknap/dpanel> (package)
- <https://pkg.go.dev/vuln/GO-2025-3612> (web)

## Sources

- CVE List: [CVE-2025-30206](https://www.cve.org/CVERecord?id=CVE-2025-30206), CVE Terms of Use, modified 2025-04-15
- GitHub Advisory Database: [GHSA-j752-cjcj-w847](https://github.com/advisories/GHSA-j752-cjcj-w847), CC-BY-4.0, modified 2025-04-23
- Go Vulnerability Database: [GO-2025-3612](https://pkg.go.dev/vuln/GO-2025-3612), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-30206](https://nvd.nist.gov/vuln/detail/CVE-2025-30206), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-30206 · Whole record: https://cve.day/CVE-2025-30206.json · Rebuilt by cve.day 2026-11-25T22:58:56.480Z
