---
id: "CVE-2026-129941"
page: "https://infrastack.ai/live/CVE-2026-129941"
kind: "vulnerability"
aliases: ["CVE-2026-129941"]
title: "Prime CMS: unauthenticated account creation grants full administrator access"
severity: "critical"
cvss: 9.8
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "@primecms/core", "fixed": [], "affected": "<= 0.4.0-beta.0", "ecosystem": "npm"}]
ecosystems: []
tags: ["@primecms/core", "cms", "graphql", "npm", "package", "primecms", "self-hosted"]
not_affected_if: ["endpoint-not-public", "fixed-version", "network-restricted", "not-internet-reachable"]
published_at: "2026-11-16T15:17:28+00:00"
first_seen_at: "2026-11-16T15:37:55+00:00"
updated_at: "2026-11-16T15:42:33+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129941", "first_seen_at": "2026-11-16T15:37:55+00:00"}, {"source": "analyst", "url": "https://github.com/birkir/prime/issues/549", "first_seen_at": "2026-11-16T15:42:33+00:00", "cites": ["https://github.com/birkir/prime/issues/549", "https://github.com/birkir/prime/blob/v0.3.4-beta.3/packages/prime-core/src/modules/internal/utils/isAuthenticated.ts"]}]
exploit_sources: []
---

# Prime CMS: unauthenticated account creation grants full administrator access

Link for people: https://infrastack.ai/live/CVE-2026-129941 (this .md is for agents)

Prime CMS (@primecms/core) through 0.4.0-beta.0 has its authentication check commented out on the createUser GraphQL mutation at /prime/graphql. Any unauthenticated attacker can register an account that is given the admin role, with full control over content, users, webhooks and settings.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- npm:@primecms/core affected <= 0.4.0-beta.0 fixed no fixed version listed

## How to check

Look for @primecms/core (version <= 0.4.0-beta.0) in package.json or the lockfile. In the source, isAuthenticated.ts has its 'if (!context.user)' check commented out and createAbility.ts hard-codes role 'admin'. Review the users list for accounts you did not create. Also check that ACCOUNTS_SECRET is set: the code falls back to a hardcoded JWT secret (reported in the same issue, unconfirmed by the maintainer).

## Fix

No fixed version known: the issue is open with no maintainer response as of 2026-11-16. Until one exists, do not expose /prime/graphql to the internet (restrict by network/VPN or reverse-proxy auth), or move off Prime. After any exposure, audit the users table for unknown accounts and rotate ACCOUNTS_SECRET.

## Timeline

- 2026-11-16T15:37:55+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129941
- 2026-11-16T15:42:33+00:00 analyst https://github.com/birkir/prime/issues/549 — VulnCheck advisory (11/16/2026) and upstream issue birkir/prime#549 (opened today, no maintainer reply, no PoC) read; code at v0.3.4-beta.3 confirms isAuthenticated check commented out. No fix or patched version published; project has been unresponsive to earlier Jan 2026 issues. Not verified (no vendor advisory).

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/prime-cms-through-0.4.0-beta.0-authentication-bypass-via-createuser-graphql-mutation
- [describes] Security: Multiple Critical Vulnerabilities in Prime Core (#549) https://github.com/birkir/prime/issues/549
- [describes] isAuthenticated.ts at v0.3.4-beta.3 (check commented out) https://github.com/birkir/prime/blob/v0.3.4-beta.3/packages/prime-core/src/modules/internal/utils/isAuthenticated.ts

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
