CVE-2025-51606 — hippo4j Includes Hard Coded Secret Key in...
HIGH
hippo4j Includes Hard Coded Secret Key in JWT Creation
Published August 21, 2025Updated August 22, 2025Source: osv
Summary
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.
Advisory Timeline
- First published August 21, 2025 (417 days ago).
- Last revised August 22, 2025 — 1 day after initial publication.
Affected Packages (1)
Affects 1 ecosystem: maven (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| cn.hippo4j:hippo4j-core | maven | 1.1.0, 1.1.0-RC1, 1.1.0-alpha, 1.1.0-alpha.2 (+28 more) | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-798Use of Hard-coded CredentialsMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-51606ADVISORY
- https://github.com/ShenxiuSec/cve-proofs/blob/main/POC-20250610-01.mdWEB
- https://github.com/opengoofy/hippo4jPACKAGE
- https://github.com/opengoofy/hippo4j/blob/7d78be3cab526501ad876495862f4cec108da2af/threadpool/server/auth/src/main/java/cn/hippo4j/auth/security/JwtTokenManager.java#L51WEB
Frequently Asked Questions
- What is CVE-2025-51606?
- hippo4j Includes Hard Coded Secret Key in JWT Creation This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2025-51606?
- CVE-2025-51606 affects cn.hippo4j:hippo4j-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-51606 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
8.8
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
GHSA-48cg-9c55-j2q7
Related CVEs
- CVE-2026-61570HIGH
MPXJ: XXE Vulnerability in MerlinReader
- CVE-2026-107725HIGH
Hazelcast has an authorization bypass in IMap Predicates API
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies