RCE in Birkir Prime
CVE-2026-129943
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.
Vulnerability class: Command Injection (OS Command Injection)
Published .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/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/issues/549 (issue-tracking)
- www.vulncheck.com/advisories/prime-cms-through-0.4.0-beta.0-os-command-injectio… (third-party-advisory)