Summary
CVE-2026-129952 is a critical authentication bypass vulnerability (CWE-1394, Use of Default Cryptographic Key) in NodePress, the surmon-china Node.js blogging/CMS server. It affects all versions through 8.5.1. An unauthenticated remote attacker can obtain administrator access by forging JWTs. The CVSS v4.0 score is 9.3 (Critical).
Technical details
- Root cause: NodePress falls back to a hardcoded JWT signing secret,
nodepress-secret, when no custom secret is configured. - Trigger conditions: The attacker needs no credentials or user interaction. The attacker crafts an HS256-signed bearer token using the known fallback key.
- Attack vector: Network. The forged token is sent to the NodePress API.
- Impact: Administrator-level access to the APIs that manage articles, comments, settings, and files.
- No public exploitation was confirmed in the sources reviewed.
Affected software
- NodePress (surmon-china/nodepress) versions 0 through 8.5.1, inclusive.
Severity
- CVSS v4.0: 9.3 (Critical),
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 - CVSS v3.1: 9.8 (Critical),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: The CVE record lists no fixed version. Check the upstream issue (surmon-china/nodepress #143) and the project releases for a patch, and upgrade once one is available.
- If no patch:
- Restrict network access to NodePress administrative and API endpoints, for example by IP allowlist or VPN.
- Monitor for suspicious or unexpected administrator JWT use.
- Rotate any secrets and review articles, comments, settings, and files for unauthorized changes if exposure is suspected.
- No official patch note confirms that configuring a custom JWT secret removes the vulnerability. Treat it as an unverified interim step and validate it in your environment.

