Critical · 9.3 Critical vulnerabilities CVE-2026-129941
Prime CMS Authentication Bypass Allows Unauthenticated Attackers to Create Admin Accounts
Prime CMS (@primecms/core) through version 0.4.0-beta.0 contains an authentication bypass vulnerability (CVE-2026-129941) that lets unauthenticated attackers register administrator accounts through the createUser GraphQL mutation, gaining full control over content, users, webhooks and settings. No fix is currently available.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A critical vulnerability has been disclosed in Prime CMS (@primecms/core), a content management system built on GraphQL. The flaw, tracked as CVE-2026-129941, allows unauthenticated attackers to register new user accounts with full administrative privileges through a GraphQL mutation, effectively bypassing authentication entirely. As of publication, no fix is available.
What happened
A vulnerability was disclosed in Prime CMS (@primecms/core) affecting versions through 0.4.0-beta.0. The issue allows unauthenticated attackers to register accounts using the createUser GraphQL mutation exposed at /prime/graphql, resulting in a complete authentication bypass with administrative access to the application.
Technical cause
The vulnerability is classified as CWE-306 (Missing Authentication for Critical Function). According to the advisory, the isAuthenticated() guard that should protect the createUser mutation has its authentication check commented out, leaving the endpoint effectively unprotected. In addition, the createAbility() function hard-codes every newly created account to the admin role, regardless of who registers it. The combination of these two issues means any unauthenticated party reaching /prime/graphql can create a fully privileged administrator account.
Why it matters
This vulnerability grants attackers complete administrative control over an affected Prime CMS instance, including content, user accounts, webhooks and application settings. Because no authentication, user interaction, or privileges are required to exploit it, and the attack can be carried out remotely over the network, the practical impact is severe: an attacker who can reach the GraphQL endpoint can fully compromise the site.
Who is affected
Any deployment of Prime CMS (@primecms/core) through version 0.4.0 that exposes the /prime/graphql endpoint is affected. Site owners running this CMS should treat exposure of this endpoint as a critical risk until a fix is confirmed available.
Affected versions
Versions of Prime CMS (@primecms/core) up to and including 0.4.0 are affected, as described in the advisory covering releases through 0.4.0-beta.0.
Fixes and mitigation
No fix is currently available for this vulnerability according to the fact package. Site owners should restrict or disable public access to the /prime/graphql endpoint where feasible, and monitor vendor channels closely for an update that re-enables the authentication check and restores correct role assignment.
Recommended action
Administrators running Prime CMS should audit whether the /prime/graphql endpoint is publicly reachable and restrict access immediately, for example through network-level controls or a web application firewall rule blocking the createUser mutation. Review existing user accounts for unauthorized administrator registrations. Apply a vendor fix as soon as one becomes available, since none currently exists.
PatchBriefing score
9.3 / 10 · Critical
Official CVSS: 9.3
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
EPSS 0.0085 (56 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
Reported fixes
No fix is currently available for this vulnerability according to the fact package. Site owners should restrict or disable public access to the /prime/graphql endpoint where feasible, and monitor vendor channels closely for an update that re-enables the authentication check and restores correct role assignment.
How this was built
2 source records were collected, matched and used to prepare the report above.
-
CVE.org database
-
NVD (NIST) database
Revision history
- Published
- Generated