CVE-2025-51606
JSON

8.8high

hippo4j Includes Hard Coded Secret Key in JWT Creation

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.40% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-48cg-9c55-j2q7

Description

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
cn.hippo4j:hippo4j-core (Maven)from 1.0.0 up to 1.5.0GitHub Advisory Database

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-798

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

hippo4j 1.0.0 a 1.5.0 utiliza una clave secreta codificada de forma rígida para la creación de JWT (JSON Web Token). Esto permite a los atacantes con acceso al código fuente o al binario compilado falsificar tokens de acceso válidos y suplantar la identidad de cualquier usuario, incluyendo usuarios privilegiados como "admin". Esta vulnerabilidad supone un riesgo crítico de seguridad en sistemas donde la autenticación y la autorización dependen de la integridad de los JWT.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-51606 changed 2025-08-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-48cg-9c55-j2q7 changed 2025-08-22CC-BY-4.0
NVDCVE-2025-51606 changed 2026-06-17Public domain