CVE-2026-129941: Prime CMS through 0.4.0-beta.0 Authentication Bypass via createUser GraphQL Mutation
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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using @primecms/core through version 0.4.0-beta.0 are affected if the /prime/graphql endpoint is reachable. The vulnerable createUser GraphQL mutation permits unauthenticated account registration.
What access does an attacker need to exploit this?
No prior account, privileges, or user interaction are required. An unauthenticated attacker only needs network access to the /prime/graphql endpoint and the ability to invoke the createUser mutation.
What can an attacker do after creating an account?
The created account can be used to log in with full administrative control. This includes control over content, users, webhooks, and settings.
Why does a newly registered account receive administrative access?
The authentication guard's check is commented out, allowing the createUser mutation to be used without authentication. In addition, createAbility() hard-codes every role as admin.