{"id":"CVE-2026-129941","kind":"vulnerability","aliases":["CVE-2026-129941"],"related":[],"title":"Prime CMS: unauthenticated account creation grants full administrator access","description":"Prime CMS (@primecms/core) through 0.4.0-beta.0 contains an authentication bypass vulnerability that allows unauthenticated attackers to register accounts via the createUser mutation on /prime/graphql. Because the isAuthenticated() guard has its check commented out and createAbility() hard-codes every role to admin, attackers can log in with full administrative control over content, users, webhooks and settings.","summary":"Prime CMS (@primecms/core) through 0.4.0-beta.0 has its authentication check commented out on the createUser GraphQL mutation at /prime/graphql. Any unauthenticated attacker can register an account that is given the admin role, with full control over content, users, webhooks and settings.","severity":"critical","cvss":9.8,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"@primecms/core","fixed":[],"affected":"<= 0.4.0-beta.0","ecosystem":"npm"}],"ecosystems":[],"tags":["@primecms/core","cms","graphql","npm","package","primecms","self-hosted"],"not_affected_if":["endpoint-not-public","fixed-version","network-restricted","not-internet-reachable"],"how_to_check":"Look for @primecms/core (version <= 0.4.0-beta.0) in package.json or the lockfile. In the source, isAuthenticated.ts has its 'if (!context.user)' check commented out and createAbility.ts hard-codes role 'admin'. Review the users list for accounts you did not create. Also check that ACCOUNTS_SECRET is set: the code falls back to a hardcoded JWT secret (reported in the same issue, unconfirmed by the maintainer).","fix":"No fixed version known: the issue is open with no maintainer response as of 2026-11-16. Until one exists, do not expose /prime/graphql to the internet (restrict by network/VPN or reverse-proxy auth), or move off Prime. After any exposure, audit the users table for unknown accounts and rotate ACCOUNTS_SECRET.","status":"open","published_at":"2026-11-16T15:17:28+00:00","first_seen_at":"2026-11-16T15:37:55+00:00","triaged_at":"2026-11-16T15:39:57+00:00","updated_at":"2026-11-16T15:42:33+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-16T15:39:57Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"internet","title":"Prime CMS: unauthenticated account creation grants full administrator access","impact":"high","summary":"Prime CMS (@primecms/core) through 0.4.0-beta.0 has its authentication check commented out on the createUser GraphQL mutation at /prime/graphql. Any unauthenticated attacker can register an account that is given the admin role, with full control over content, users, webhooks and settings.","audience":"developers","category":"package","nicknames":[],"who_cares":["primecms","@primecms/core","self-hosted","graphql"],"confidence":0.85,"fix_status":"unknown","needs_auth":"no","worst_case":"Attacker creates an admin account and takes over the entire CMS.","analyst_note":"Confirm the fixed version of @primecms/core and any patch from the project; sources give none. Check the NVD entry and VulnCheck advisory.","how_to_check":"- Check the installed version of `@primecms/core` in `package.json` or the lockfile; versions through `0.4.0-beta.0` are affected.\n- Send an unauthenticated `createUser` mutation to `/prime/graphql` on a test copy and see whether an account is created.","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["fixed-version","endpoint-not-public"],"who_is_affected":"Sites running Prime CMS (@primecms/core) through 0.4.0-beta.0 with the GraphQL endpoint at /prime/graphql reachable from the internet. Sites on a later version, or with the endpoint blocked from public access, are not shown as affected by the sources.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"no","severity_if_unknown":"critical"},"cost_usd":0.000757,"input_tokens":4618,"output_tokens":591,"severity_before":"critical"},"analyst_status":"done","analyst_note":"Confirm the fixed version of @primecms/core and any patch from the project; sources give none. Check the NVD entry and VulnCheck advisory.","search":"'-129941':12A,15A '-2026':11A,14A '/prime/graphql':44B,90C '0.4.0':30B,71C 'access':9A 'account':4A,51B,84C 'admin':56B,108C 'administr':8A,115C 'allow':79C 'attack':47B,81C,109C 'authent':34B,75C 'beta.0':31B,72C 'bypass':76C 'check':35B,97C 'cms':2A,18B,27B,68C 'code':104C 'comment':36B,98C 'contain':73C 'content':62B,118C 'control':60B,116C 'createabl':101C 'createus':40B,87C 'creation':5A 'cve':10A,13A 'everi':105C 'full':7A,59B,114C 'given':54B 'grant':6A 'graphql':19B,41B 'guard':94C 'hard':103C 'hard-cod':102C 'host':25B 'isauthent':93C 'log':111C 'mutat':42B,88C 'npm':20B 'packag':21B 'prime':1A,26B,67C 'primecm':22B 'primecms/core':16A,17B,28B,69C 'regist':49B,83C 'role':57B,106C 'self':24B 'self-host':23B 'set':66B,122C 'unauthent':3A,46B,80C 'user':63B,119C 'via':85C 'vulner':77C 'webhook':64B,120C","nicknames":[],"mitigations":[],"who_affected":"Sites running Prime CMS (@primecms/core) through 0.4.0-beta.0 with the GraphQL endpoint at /prime/graphql reachable from the internet. Sites on a later version, or with the endpoint blocked from public access, are not shown as affected by the sources.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"none","audience":"developers","plain_action":null,"pkeys":["core"],"ptokens":["core","primecms"],"labels":["cms","core","critical","graphql","npm","package","primecms","selfhosted"],"campaign_type":null,"search_a":"'-129941':12A,15A '-2026':11A,14A 'access':9A 'account':4A 'administr':8A 'cms':2A 'creation':5A 'cve':10A,13A 'full':7A 'grant':6A 'prime':1A 'primecms/core':16A 'unauthent':3A","search_b":"'/prime/graphql':44B '0.4.0':30B 'account':51B 'admin':56B 'attack':47B 'authent':34B 'beta.0':31B 'check':35B 'cms':18B,27B 'comment':36B 'content':62B 'control':60B 'createus':40B 'full':59B 'given':54B 'graphql':19B,41B 'host':25B 'mutat':42B 'npm':20B 'packag':21B 'prime':26B 'primecm':22B 'primecms/core':17B,28B 'regist':49B 'role':57B 'self':24B 'self-host':23B 'set':66B 'unauthent':46B 'user':63B 'webhook':64B","search_c":"'/prime/graphql':90C '0.4.0':71C 'account':84C 'admin':108C 'administr':115C 'allow':79C 'attack':81C,109C 'authent':75C 'beta.0':72C 'bypass':76C 'check':97C 'cms':68C 'code':104C 'comment':98C 'contain':73C 'content':118C 'control':116C 'createabl':101C 'createus':87C 'everi':105C 'full':114C 'guard':94C 'hard':103C 'hard-cod':102C 'isauthent':93C 'log':111C 'mutat':88C 'prime':67C 'primecms/core':69C 'regist':83C 'role':106C 'set':122C 'unauthent':80C 'user':119C 'via':85C 'vulner':77C 'webhook':120C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T15:17:28+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-129941","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129941","severity":null,"published_at":"2026-11-16T15:17:28+00:00","modified_at":"2026-11-16T15:17:28+00:00","first_seen_at":"2026-11-16T15:37:55+00:00","fetched_at":"2026-11-16T15:37:55+00:00","note":null},{"source":"analyst","external_id":"CVE-2026-129941:4132","url":"https://github.com/birkir/prime/issues/549","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 (11/16/2026) and upstream issue birkir/prime#549 (opened today, no maintainer reply, no PoC) read; code at v0.3.4-beta.3 confirms isAuthenticated check commented out. No fix or patched version published; project has been unresponsive to earlier Jan 2026 issues. Not verified (no vendor advisory).","cites":["https://github.com/birkir/prime/issues/549","https://github.com/birkir/prime/blob/v0.3.4-beta.3/packages/prime-core/src/modules/internal/utils/isAuthenticated.ts"]}],"documents":[{"id":170623,"url":"https://www.vulncheck.com/advisories/prime-cms-through-0.4.0-beta.0-authentication-bypass-via-createuser-graphql-mutation","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":170703,"url":"https://github.com/birkir/prime/issues/549","title":"Security: Multiple Critical Vulnerabilities in Prime Core (#549)","kind":"issue","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"describes","confidence":null,"note":null},{"id":170704,"url":"https://github.com/birkir/prime/blob/v0.3.4-beta.3/packages/prime-core/src/modules/internal/utils/isAuthenticated.ts","title":"isAuthenticated.ts at v0.3.4-beta.3 (check commented out)","kind":"other","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"describes","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"}