CVE-2026-129941 birkir · prime
AI summary
Prime CMS (@primecms/core) through 0.4.0-beta.0 lets unauthenticated attackers register accounts via the createUser mutation on /prime/graphql, because the authentication check is commented out and every role is hard-coded to admin. This yields full administrative control over content, users, webhooks and settings. Critical (CVSS 9.8).
Official 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.
- Published
- 2026-11-16 15:17 UTC
- Modified
- 2026-11-16 18:17 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 0.85% (percentile 56)
- ENISA EUVD
- EUVD-2026-126430
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-306
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/birkir/prime/blob/v0.3.4-beta.3/packages/prime-core/src/modules/internal/index.ts#L67-L69 - github.com
https://github.com/birkir/prime/blob/v0.3.4-beta.3/packages/prime-core/src/modules/internal/utils/createAbility.ts#L7-L15 - github.com
https://github.com/birkir/prime/blob/v0.3.4-beta.3/packages/prime-core/src/modules/internal/utils/isAuthenticated.ts#L1-L6 - github.com
https://github.com/birkir/prime/issues/549 - www.vulncheck.com
https://www.vulncheck.com/advisories/prime-cms-through-0.4.0-beta.0-authentication-bypass-via-createuser-graphql-mutation