Summary
NodePress through version 8.5.1 contains an authentication bypass vulnerability (CVE-2026-129952) that lets unauthenticated remote attackers gain administrator access by forging JWTs. The CVSS 4.0 score is 9.3 (critical severity).
What happened
According to the description, NodePress uses a hardcoded fallback key ('nodepress-secret') to sign JWTs. An unauthenticated remote attacker can sign HS256 tokens with the default issuer and audience and the role 'admin', and thereby access administrator-only APIs for article, comment, options, and file management. The weakness is classified as CWE-1394.
Why it matters
It allows a remote attacker without credentials to obtain administrative access to article, comment, options, and file management functions. The CVSS 4.0 score is 9.3, with vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N (source: CNA VulnCheck). CISA's KEV catalog does not list this vulnerability as known to be exploited.
Affected products and versions
NodePress (vendor: surmon-china), versions <= 8.5.1 (last affected version: 8.5.1).
| Product | Versions | Fixed in |
|---|---|---|
| surmon-china NodePress | <= 8.5.1 | — |
Action recommended by the source
The source does not state a fixed version or a vendor mitigation. References include the issue in the project repository (https://github.com/surmon-china/nodepress/issues/143) and the VulnCheck advisory (https://www.vulncheck.com/advisories/nodepress-through-8.5.1-authentication-bypass-via-default-jwt-signing-secret).
Sources and references
- https://github.com/surmon-china/nodepress/issues/143 — CVE Program
- https://github.com/surmon-china/nodepress/blob/v8.5.1/src/app.config.ts#L62-L72 — CVE Program
- https://github.com/surmon-china/nodepress/blob/v8.5.1/src/core/auth/auth.module.ts#L17-L29 — CVE Program
- https://github.com/surmon-china/nodepress/blob/v8.5.1/src/main.ts#L44-L60 — CVE Program
- https://www.vulncheck.com/advisories/nodepress-through-8.5.1-authentication-bypass-via-default-jwt-signing-secret — CVE Program
Weaknesses (CWE): CWE-1394
Relevant change history
Published
Advisory published.