CVE-2025-51606
HIGH 8.8CVSS 3.1hippo4j Includes Hard Coded Secret Key in JWT Creation
hippo4j 1.0.0 to 1.5.0, uses a hard-coded secret key in its JWT (JSON Web Token) creation. This allows attackers with access to the source code or compiled binary to forge valid access tokens and impersonate any user, including privileged ones such as "admin". The vulnerability poses a critical security risk in systems where authentication and authorization rely on the integrity of JWTs.
- Published
- 21 Aug 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-798
- Also known as
- GHSA-48cg-9c55-j2q7
- Sources
- NVDJSONOSV GHSA-48cg-9c55-j2q7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | cn.hippo4j:hippo4j-core | >= 1.0.0, <= 1.5.0 |
References
- https://github.com/ShenxiuSec/cve-proofs/blob/main/POC-20250610-01.md · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-51606 · ADVISORY
- https://github.com/opengoofy/hippo4j · PACKAGE
- https://github.com/opengoofy/hippo4j/blob/7d78be3cab526501ad876495862f4cec108da2af/threadpool/server/auth/src/main/java/cn/hippo4j/auth/security/JwtTokenManager.java#L51 · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 21 Aug 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Aug 2025)