{"id":"CVE-2026-129955","kind":"vulnerability","aliases":["CVE-2026-129955"],"related":[],"title":"NodePress through 8.5.1: default admin password 'root' allows admin login on installs that never set one","description":"NodePress through 8.5.1 contains an authentication bypass vulnerability that allows unauthenticated attackers to gain administrator access by using the hardcoded default password 'root'. Attackers can send base64-encoded 'root' to POST /admin/login when NP_ADMIN_DEFAULT_PASSWORD is unset to obtain admin tokens and fully control the site.","summary":"NodePress through version 8.5.1 ships with a hardcoded default admin password of 'root' that is used when NP_ADMIN_DEFAULT_PASSWORD is not set. An unauthenticated attacker who sends the base64-encoded value to the admin login endpoint gets admin tokens and full control of the site.","severity":"critical","cvss":9.8,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"surmon-china/nodepress","fixed":[],"affected":"<= 8.5.1","ecosystem":"github"}],"ecosystems":["npm"],"tags":["cms","nestjs","nodepress","other","self-hosted"],"not_affected_if":["admin-password-set","default-config-overridden","np_admin_default_password-set"],"how_to_check":"- Version: v8.5.1 is the latest release and is affected; the maintainer has published no fixed version as of 2026-11-16.\n- Check the environment of the running service: NP_ADMIN_DEFAULT_PASSWORD unset means 'root' is the fallback (src/app.config.ts L64).\n- Per the source, 'root' is only compared when no password hash is stored in the DB (src/modules/admin/admin.service.profile.ts L48-54). The check is whether the admin document in MongoDB has a password set.\n- Also check NP_AUTH_JWT_SECRET: the reporter says an unset value defaults to a public string and lets attackers forge admin JWTs (not confirmed by the maintainer).","fix":"No fixed release as of 2026-11-16: the latest release is v8.5.1 and issue #143 is open with no maintainer reply. Workaround: set NP_ADMIN_DEFAULT_PASSWORD to a long random value and set the admin password through the profile update. Also set NP_AUTH_JWT_SECRET to at least 32 random bytes. Restrict /admin/login to trusted networks.","status":"open","published_at":"2026-11-16T15:17:31+00:00","first_seen_at":"2026-11-16T15:37:57+00:00","triaged_at":"2026-11-16T15:39:58+00:00","updated_at":"2026-11-16T15:42:33+00:00","category":"other","confidence":0.75,"triage":{"at":"2026-11-16T15:39:58Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"internet","title":"NodePress: hardcoded default admin password lets anyone take over sites","impact":"high","summary":"NodePress through version 8.5.1 ships with a hardcoded default admin password of 'root' that is used when NP_ADMIN_DEFAULT_PASSWORD is not set. An unauthenticated attacker who sends the base64-encoded value to the admin login endpoint gets admin tokens and full control of the site.","audience":"businesses","category":"other","nicknames":[],"who_cares":["nodepress","self-hosted","cms"],"confidence":0.7,"fix_status":"unknown","needs_auth":"no","worst_case":"Attacker gains admin access and controls the entire site","analyst_note":"Confirm the affected package ecosystem and fixed version from the vendor or NVD advisory; the vulnerability was described by a third party (VulnCheck) and the fix status is not stated.","how_to_check":"- Check whether the environment variable `NP_ADMIN_DEFAULT_PASSWORD` is set for the NodePress deployment; if it is unset, the default password applies.\n- Confirm the installed NodePress version with the project's package manifest; versions through `8.5.1` are affected.\n- Look for the admin login route `POST /admin/login` exposed on a reachable host.","plain_action":"","product_name":"NodePress","needs_analyst":true,"not_affected_if":["default-config-overridden"],"who_is_affected":"NodePress installations through 8.5.1 that leave NP_ADMIN_DEFAULT_PASSWORD unset are exposed, because the hardcoded 'root' password then works on the admin login endpoint. Any reachable NodePress admin login should be treated as at risk. Deployments that set NP_ADMIN_DEFAULT_PASSWORD to a strong value are not affected by the default-password path, based on the description.","user_interaction":"no","product_ecosystem":"npm","needs_special_setup":"yes","severity_if_unknown":"critical"},"cost_usd":0.00081,"input_tokens":4603,"output_tokens":699,"severity_before":"critical"},"analyst_status":"done","analyst_note":"Confirm the affected package ecosystem and fixed version from the vendor or NVD advisory; the vulnerability was described by a third party (VulnCheck) and the fix status is not stated.","search":"'-129955':19A,22A '-2026':18A,21A '/admin/login':114C '/nodepress':26A '8.5.1':3A,37B,84C 'access':97C 'admin':5A,9A,43B,52B,70B,74B,117C,124C 'administr':96C 'allow':8A,91C 'attack':60B,93C,105C 'authent':87C 'base64':65B,109C 'base64-encoded':64B,108C 'bypass':88C 'china':25A 'cms':27B 'contain':85C 'control':78B,128C 'cve':17A,20A 'default':4A,42B,53B,102C,118C 'encod':66B,110C 'endpoint':72B 'full':77B 'fulli':127C 'gain':95C 'get':73B 'hardcod':41B,101C 'host':33B 'instal':12A 'login':10A,71B 'nestj':28B 'never':14A 'nodepress':1A,29B,34B,82C 'np':51B,116C 'obtain':123C 'one':16A 'password':6A,44B,54B,103C,119C 'post':113C 'root':7A,46B,104C,111C 'self':32B 'self-host':31B 'send':62B,107C 'set':15A,57B 'ship':38B 'site':81B,130C 'surmon':24A 'surmon-china':23A 'token':75B,125C 'unauthent':59B,92C 'unset':121C 'use':49B,99C 'valu':67B 'version':36B 'vulner':89C","nicknames":[],"mitigations":[],"who_affected":"Self-hosted NodePress (surmon-china/nodepress, a NestJS/MongoDB/Redis CMS API) up to v8.5.1 whose admin has no password stored in the database and where NP_ADMIN_DEFAULT_PASSWORD is unset: the built-in 'root' password is accepted at POST /admin/login. Anyone who can reach the login route can take over the site. Installs that set NP_ADMIN_DEFAULT_PASSWORD, or already have a stored admin password hash, can skip this path. The same public report also says the JWT secret defaults to a known value when NP_AUTH_JWT_SECRET is unset.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"none","audience":"businesses","plain_action":null,"pkeys":["surmonchinanodepress"],"ptokens":["china","nodepress","surmon"],"labels":["cms","critical","nestjs","nodepress","npm","other","selfhosted"],"campaign_type":null,"search_a":"'-129955':19A,22A '-2026':18A,21A '/nodepress':26A '8.5.1':3A 'admin':5A,9A 'allow':8A 'china':25A 'cve':17A,20A 'default':4A 'instal':12A 'login':10A 'never':14A 'nodepress':1A 'one':16A 'password':6A 'root':7A 'set':15A 'surmon':24A 'surmon-china':23A","search_b":"'8.5.1':37B 'admin':43B,52B,70B,74B 'attack':60B 'base64':65B 'base64-encoded':64B 'cms':27B 'control':78B 'default':42B,53B 'encod':66B 'endpoint':72B 'full':77B 'get':73B 'hardcod':41B 'host':33B 'login':71B 'nestj':28B 'nodepress':29B,34B 'np':51B 'password':44B,54B 'root':46B 'self':32B 'self-host':31B 'send':62B 'set':57B 'ship':38B 'site':81B 'token':75B 'unauthent':59B 'use':49B 'valu':67B 'version':36B","search_c":"'/admin/login':114C '8.5.1':84C 'access':97C 'admin':117C,124C 'administr':96C 'allow':91C 'attack':93C,105C 'authent':87C 'base64':109C 'base64-encoded':108C 'bypass':88C 'contain':85C 'control':128C 'default':102C,118C 'encod':110C 'fulli':127C 'gain':95C 'hardcod':101C 'nodepress':82C 'np':116C 'obtain':123C 'password':103C,119C 'post':113C 'root':104C,111C 'send':107C 'site':130C 'token':125C 'unauthent':92C 'unset':121C 'use':99C 'vulner':89C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T15:17:31+00:00","kev":null,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-129955","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129955","severity":null,"published_at":"2026-11-16T15:17:31+00:00","modified_at":"2026-11-16T15:17:31+00:00","first_seen_at":"2026-11-16T15:37:57+00:00","fetched_at":"2026-11-16T15:37:57+00:00","note":null},{"source":"analyst","external_id":"CVE-2026-129955:4130","url":"https://github.com/surmon-china/nodepress/issues/143","severity":null,"published_at":"2026-11-16T15:42:33+00:00","modified_at":"2026-11-16T15:42:33+00:00","first_seen_at":"2026-11-16T15:42:33+00:00","fetched_at":"2026-11-16T15:42:33+00:00","note":"VulnCheck advisory and public GitHub issue #143 (Ikram-4) read; no maintainer fix or advisory found. Ecosystem changed from npm to github: I found no npm package, and the project is an app repo. No PoC link, no exploitation reports. The advisory cites CVSS 9.3 (v4). Verified nothing: no vendor or maintainer statement exists.","cites":["https://github.com/surmon-china/nodepress/issues/143","https://github.com/surmon-china/nodepress/releases"]}],"documents":[{"id":170638,"url":"https://www.vulncheck.com/advisories/nodepress-through-8.5.1-authentication-bypass-via-default-administrator-password","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"},{"id":170701,"url":"https://github.com/surmon-china/nodepress/issues/143","title":"NodePress #143: default JWT secret / default admin password (open)","kind":"issue","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"describes","confidence":null,"note":null},{"id":170702,"url":"https://github.com/surmon-china/nodepress/releases","title":"surmon-china/nodepress releases (latest v8.5.1)","kind":"release","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"mentions","confidence":null,"note":null}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}