CVE-2026-129941

Prime CMS through 0.4.0-beta.0 Authentication Bypass via createUser GraphQL Mutation

Published Nov 16, 2026 CVSS 4.0 · 9.3 Critical EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Prime CMS through 0.4.0-beta.0 contains a flaw in the createUser GraphQL mutation that bypasses the authentication guard. The isAuthenticated() check is commented out and the ability creation logic hard‑codes all roles as admin, enabling any caller to register a new account and immediately gain complete control of content, users, webhooks, and settings. This allows attackers to create an account with full administrative privileges.

Affected Systems

The vulnerability affects Prime CMS (Prime CMS core) from birkir for all releases up to and including 0.4.0-beta.0. These versions expose an unprotected /prime/graphql endpoint capable of creating new users without authentication.

Risk and Exploitability

The flaw carries a CVSS score of 9.3 and is not listed in the CISA KEV catalog. Although no EPSS value is available, the exploit can be performed by sending a simple GraphQL mutation to /prime/graphql, requiring no credentials and no special conditions. Once exploited, attackers acquire full administrative control over the entire application.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official Prime CMS upgrade to a version newer than 0.4.0-beta.0 that addresses the authentication bypass identified as CWE-306.
  • Re-enable the isAuthenticated guard in the createUser GraphQL mutation and remove the hard‑coding of all roles to administrator to comply with CWE-306.
  • Restrict external access to the /prime/graphql endpoint via network segmentation or firewall rules, ensuring that only authenticated requests reach the mutation (mitigating CWE-306).

Generated by OpenCVE AI on November 16, 2026 at 17:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Prime CMS through 0.4.0-beta.0 Authentication Bypass via createUser GraphQL Mutation
First Time appeared Birkir
Birkir prime
Weaknesses CWE-306
CPEs cpe:2.3:a:birkir:prime:*:*:*:*:*:*:*:*
Vendors & Products Birkir
Birkir prime
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, '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'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 16, 2026, 5:48 PM
Reserved
Nov 16, 2026, 2:43 PM
Status
Received
Published
Nov 16, 2026, 3:17 PM
Modified
Nov 16, 2026, 6:17 PM