CVE-2026-129943
7.2HighPublished 16 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- High
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-78
What an attacker gets
Authenticated administrators can execute arbitrary shell commands on the server. An attacker needs valid administrative credentials to trigger the vulnerable GraphQL mutation.
Root cause
The application passes unvalidated user input from the version string directly into child_process.exec() during package installation.
Affected versions
Prime CMS (@primecms/core) through 0.4.0-beta.0
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to a version beyond 0.4.0-beta.0. Until patched, disable the updateSystem GraphQL mutation or restrict administrative access to the CMS.
$ npm list @primecms/coreAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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.
References
- https://github.com/birkir/prime/blob/v0.3.4-beta.3/packages/prime-core/src/modules/internal/resolvers/PrimeResolver.ts#L110-L132
- https://github.com/birkir/prime/blob/v0.3.4-beta.3/packages/prime-core/src/modules/internal/utils/updateNpmPackages.ts#L4-L15
- https://github.com/birkir/prime/issues/549
- https://www.vulncheck.com/advisories/prime-cms-through-0.4.0-beta.0-os-command-injection-via-updatesystem-mutation