NodePress through 8.5.1 Authentication Bypass via Default JWT Signing Secret
- State
- Published
- Severity
- 9.3 Critical
- Published
- Nov 16, 2026
- Updated
- Nov 17, 2026
- Reserved
- Nov 16, 2026
Description
NodePress through 8.5.1 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to gain administrator access by forging JWTs with the hardcoded 'nodepress-secret' fallback key. Attackers can sign HS256 bearer tokens with the default issuer, audience, and role 'admin' to access administrator-only APIs for article, comment, options, and file management.
| Product | Versions |
|---|---|
| NodePress surmon-china | 8.5.1 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | VulnCheck | |
| 3.1 | 9.8 Critical | VulnCheck |
Weaknesses
- CWE-1394 Use of Default Cryptographic Key
References
- https://github.com/surmon-china/nodepress/issues/143Issue Tracker
- https://github.com/surmon-china/nodepress/blob/v8.5.1/src/app.config.ts#L62-L72Technical Details
- https://github.com/surmon-china/nodepress/blob/v8.5.1/src/core/auth/auth.module.ts#L17-L29Technical Details
- https://github.com/surmon-china/nodepress/blob/v8.5.1/src/main.ts#L44-L60Technical Details
- VulnCheck Advisory: NodePress through 8.5.1 Authentication Bypass via Default JWT Signing SecretThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.