# CVE-2023-22463: KubePi's Hardcoded Jwtsigkeys allows malicious actor to login with a forged JWT token

- Severity: Critical 9.8 (CVSS:3.0, scored by GitHub_M) `CVSS:3.0/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): 16.4%, higher than 98% of CVEs (2026-11-29)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-04T15:04:18.195Z
- Modified: 2026-09-10T03:49:51.835Z
- Also known as: GHSA-vjhf-8vqx-vqpq, GO-2023-1283
- Weaknesses: CWE-798
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

KubePi is a k8s panel. The jwt authentication function of KubePi through version 1.6.2 uses hard-coded Jwtsigkeys, resulting in the same Jwtsigkeys for all online projects. This means that an attacker can forge any jwt token to take over the administrator account of any online project. Furthermore, they may use the administrator to take over the k8s cluster of the target enterprise. `session.go`, the use of hard-coded JwtSigKey, allows an attacker to use this value to forge jwt tokens arbitrarily. The JwtSigKey is confidential and should not be hard-coded in the code. The vulnerability has been fixed in 1.6.3. In the patch, JWT key is specified in app.yml. If the user leaves it blank, a random key will be used. There are no workarounds aside from upgrading.

(As written by CVE List.)

## Affected

- KubeOperator KubePi: < 1.6.3
- github.com/KubeOperator/kubepi (Go): before 1.6.3
- fit2cloud kubepi: before 1.6.3

## Every score

- GitHub_M: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: 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/KubeOperator/KubePi/security/advisories/GHSA-vjhf-8vqx-vqpq> (exploit, advisory, patch, third-party-advisory, web)
- <https://github.com/KubeOperator/KubePi/commit/3be58b8df5bc05d2343c30371dd5fcf6a9fbbf8b> (patch, third-party-advisory, web)
- <https://github.com/KubeOperator/KubePi/blob/da784f5532ea2495b92708cacb32703bff3a45a3/internal/api/v1/session/session.go#L35> (third-party-advisory, web)
- <https://github.com/KubeOperator/KubePi/releases/tag/v1.6.3> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-22463> (advisory)
- <https://github.com/KubeOperator/KubePi> (package)

## Sources

- CVE List: [CVE-2023-22463](https://www.cve.org/CVERecord?id=CVE-2023-22463), CVE Terms of Use, modified 2025-03-10
- GitHub Advisory Database: [GHSA-vjhf-8vqx-vqpq](https://github.com/advisories/GHSA-vjhf-8vqx-vqpq), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2023-1283](https://pkg.go.dev/vuln/GO-2023-1283), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2023-22463](https://nvd.nist.gov/vuln/detail/CVE-2023-22463), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-22463 · Whole record: https://cve.day/CVE-2023-22463.json · Rebuilt by cve.day 2026-11-25T22:58:21.481Z
