Auth bypass in Birkir Prime
CVE-2026-129941
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.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
FIRST.org has not scored this CVE yet. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/birkir/prime/blob/v0.3.4-beta.3/packages/prime-core/src/modules/inte… (technical-description)
- github.com/birkir/prime/blob/v0.3.4-beta.3/packages/prime-core/src/modules/inte… (technical-description)
- github.com/birkir/prime/blob/v0.3.4-beta.3/packages/prime-core/src/modules/inte… (technical-description)
- github.com/birkir/prime/issues/549 (issue-tracking)
- www.vulncheck.com/advisories/prime-cms-through-0.4.0-beta.0-authentication-bypa… (third-party-advisory)