Summary
CVE-2026-129941 is an authentication bypass vulnerability (CWE-306, Missing Authentication for Critical Function) in Prime CMS (@primecms/core) through version 0.4.0-beta.0. Unauthenticated remote attackers can register accounts through the createUser GraphQL mutation and gain full administrative access. The vulnerability is rated Critical (CVSS v4.0 score 9.3).
Technical details
- Root cause: An authentication check is commented out in the
createUsermutation, and the role assigned to newly created users is hardcoded to administrator. - Trigger conditions: The attacker needs network access to the
/prime/graphqlendpoint. No credentials or user interaction are required. - Attack vector: Network. The attacker sends a
createUsermutation to/prime/graphqlto self-register an account. - Impact: The new account has full administrative access to content, users, webhooks and settings.
- The public issue tracker entry (birkir/prime #549) also reports related weaknesses in the same codebase, including a hardcoded default JWT secret and missing authorization checks on other resolvers. These are not part of this CVE’s description.
Affected software
- Prime CMS (
@primecms/core, birkir/prime): all versions from 0 through 0.4.0-beta.0 (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 (as published in the CVE record): 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 versions after 0.4.0-beta.0 as unaffected, and I found no confirmed patched release. The upstream issue (#549) shows no confirmed fix. Check the vendor repository for newer releases.
- Workarounds:
- Restrict network access to
/prime/graphql(for example with IP allow-lists, VPN or an authenticating reverse proxy), or block thecreateUsermutation at a WAF or proxy. - Review the user list for unexpected accounts, especially administrators.
- Rotate credentials and the JWT secret, and audit webhooks and settings for unauthorized changes.
- Consider removing internet exposure of the instance until a fix is available.
- Restrict network access to

