CVE Catalog

CVE-2026-117564

CriticalCVSS 9.8
Published: Translated: NVD NIST

Summary

nest-admin before 1.0.1 contains an authentication bypass that lets unauthenticated attackers forge administrator tokens using a hardcoded JWT_SECRET committed in .env.production. Attackers can sign tokens with the known secret trusted by JwtStrategy and RbacGuard, impersonating any user ID or claiming the admin role.

Risk Assessment

This grants full administrative access without authentication, potentially leading to takeover of the application and its data. The risk is critical because the secret is publicly known and no credentials are required.

Recommendation

Update nest-admin to 1.0.1 or later and immediately generate a new unique JWT_SECRET, removing the hardcoded secret from the repository and deployment files. Review logs for suspicious tokens and administrative actions.

Related vulnerabilities

Original NVD description (English source)

nest-admin before 1.0.1 contains an authentication bypass vulnerability that allows unauthenticated attackers to forge administrator tokens by using a hardcoded JWT_SECRET committed in .env.production. Attackers can sign tokens with the known secret that JwtStrategy and RbacGuard trust, impersonating any user ID or claiming the admin role for full administrative access.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS