Threat Feed

CVE-2026-117564: buqiyuan nest-admin · Authentication bypass

Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-10-27

Description

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.

Enclave's analysis

nest-admin before 1.0.1 ships a hardcoded JWT secret in .env.production. Anyone who knows it can sign their own tokens and pose as any user or as admin, with no login. No exploitation is reported yet, and the CVE is brand new. Upgrade to 1.0.1 or later, and set your own JWT secret. Treat any token signed before the change as untrusted. Primary sources could not be read, so confidence is low.

Fix

Upgrade nest-admin to 1.0.1; buqiyuan nest-admin to 1.0.1.

Vendor advisory

Affected versions

ProductVulnerableFixed in
nest-admin0 before 1.0.11.0.1
buqiyuan nest-adminsemver >=0 and <1.0.11.0.1

Seen in 2 sources