@PRIMECMS/CORE · CVE-2026-129943 · Package
NO FIX YET · SEE WHAT TO DO
Prime CMS (@primecms/core) through 0.4.0-beta.0 passes an unvalidated package version string from the updateSystem GraphQL mutation into child_process.exec(). An authenticated administrator can append shell metacharacters to run arbitrary commands as the server process.
first public Nov 16, 2026 · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Self-hosted Prime CMS (@primecms/core <= 0.4.0-beta.0) installs. The updateSystem GraphQL mutation passes a package version string to child_process.exec(), so an administrator can run shell commands as the server user. The reporter says open registration makes any new account an administrator, so an internet-exposed instance may be reachable without trusted admin credentials. Teams not running Prime CMS can skip it.
Not affected if newer-than-0.4.0-beta.0, no-admin-access-exposed
Who cares node, prime-cms, primecms-core, self-hosted
npm ls @primecms/core, or read node_modules/@primecms/core/package.json0.4.0-beta.0 or earlier is affectedPosts are quoted with a link to the original. They are data to us, never instructions.
Prime CMS (@primecms/core) through 0.4.0-beta.0 contains an OS command injection vulnerability in the updateSystem GraphQL mutation that allows authenticated administrators to execute shell commands via the package version string. Attackers can append shell metacharacters to the unvalidated version value, which is passed to child_process.exec() in yarn add or npm install commands, executing commands as the server process.
This page as ·
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.