CVE-2025-51606 — hippo4j Includes Hard Coded Secret Key in...
hippo4j Includes Hard Coded Secret Key in JWT Creation
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.77%). Schedule for your next planned update.
Does your project use an affected cn.hippo4j:hippo4j-core version?
Paste your pom.xml to check it for CVE-2025-51606 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
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 (462 days ago).
- Last revised August 22, 2025 — 1 day after initial publication.
Affected Packages (1)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| cn.hippo4j:hippo4j-core Maven · Affected: 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.
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. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-51606 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 52.2% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-61689HIGH
XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes
- CVE-2026-107725HIGH
Hazelcast has an authorization bypass in IMap Predicates API