CVE-2026-129952
9.8CriticalPublished 16 Nov 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
Critical
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-1394
What an attacker gets
Unauthenticated remote attackers can gain full administrator access to your NodePress instance. They achieve this by forging JWTs using the hardcoded 'nodepress-secret' fallback key.
Root cause
The application falls back to a hardcoded string as the JWT signing secret when no environment-specific secret is configured.
Affected versions
NodePress through 8.5.1
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to a version beyond 8.5.1 that removes the hardcoded secret. Immediately set the 'JWT_SECRET' environment variable to a strong, unique, and random string in your production configuration.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- https://github.com/surmon-china/nodepress/blob/v8.5.1/src/app.config.ts#L62-L72
- https://github.com/surmon-china/nodepress/blob/v8.5.1/src/core/auth/auth.module.ts#L17-L29
- https://github.com/surmon-china/nodepress/blob/v8.5.1/src/main.ts#L44-L60
- https://github.com/surmon-china/nodepress/issues/143
- https://www.vulncheck.com/advisories/nodepress-through-8.5.1-authentication-bypass-via-default-jwt-signing-secret