{"cve":"CVE-2023-22463","nvd":{"published":"2023-01-04T16:15:09.143","modified":"2026-06-17T05:35:30.500","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-798"],"references":["https://github.com/KubeOperator/KubePi/blob/da784f5532ea2495b92708cacb32703bff3a45a3/internal/api/v1/session/session.go#L35","https://github.com/KubeOperator/KubePi/commit/3be58b8df5bc05d2343c30371dd5fcf6a9fbbf8b","https://github.com/KubeOperator/KubePi/releases/tag/v1.6.3","https://github.com/KubeOperator/KubePi/security/advisories/GHSA-vjhf-8vqx-vqpq","https://github.com/KubeOperator/KubePi/blob/da784f5532ea2495b92708cacb32703bff3a45a3/internal/api/v1/session/session.go#L35"],"products":["fit2cloud:kubepi"],"source":"nvd","synced_at":"2026-10-19T21:37:31.370122805+00:00"},"epss":{"cve":"CVE-2023-22463","score":0.69667,"percentile":0.99366,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vjhf-8vqx-vqpq","url":"https://osv.dev/vulnerability/GHSA-vjhf-8vqx-vqpq","summary":"KubePi allows malicious actor to login with a forged JWT token via Hardcoded Jwtsigkeys","modified":"2026-09-10T03:49:51.835437655Z","packages":[{"ecosystem":"Go","name":"github.com/KubeOperator/kubepi","purl":"pkg:golang/github.com/KubeOperator/kubepi","ranges":["<1.6.3"],"fixed":["1.6.3"]}]},{"id":"GO-2023-1283","url":"https://osv.dev/vulnerability/GO-2023-1283","summary":"KubePi allows malicious actor to login with a forged JWT token via Hardcoded Jwtsigkeys in github.com/KubeOperator/kubepi","modified":"2026-03-03T04:53:06.998632Z","packages":[{"ecosystem":"Go","name":"github.com/KubeOperator/kubepi","purl":"pkg:golang/github.com/KubeOperator/kubepi","ranges":["<1.6.3"],"fixed":["1.6.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}