hippo4j 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | cn.hippo4j:hippo4j-core | >= 1.0.0, <= 1.5.0 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-51606
- https://github.com/ShenxiuSec/cve-proofs/blob/main/POC-20250610-01.md
- https://github.com/opengoofy/hippo4j
- https://github.com/opengoofy/hippo4j/blob/7d78be3cab526501ad876495862f4cec108da2af/threadpool/server/auth/src/main/java/cn/hippo4j/auth/security/JwtTokenManager.java#L51
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-798- Platform
- Java / Kotlin (Maven)
- Package
cn.hippo4j:hippo4j-core- Disclosed
- 21.08.2025
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-48cg-9c55-j2q7 - CC BY 4.0
Vulnerability history: cn.hippo4j:hippo4j-core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 03.2023 08.2025
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
Disclosures per year
- 2023: 1
- 2024: 0
- 2025: 1
- 2026: 0
-
hippo4j Includes Hard Coded Secret Key in JWT Creation this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.