CVE-2026-129943 PUBLISHED

Prime CMS through 0.4.0-beta.0 OS Command Injection via updateSystem Mutation

Assigner: VulnCheck
Reserved: 16.11.2026 Published: 16.11.2026 Updated: 16.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.6

Product Status

Vendor birkir
Product prime
Versions Default: unaffected
  • affected from 0 to 0.4.0-beta.0 (incl.)

Credits

  • Ikram-4 finder

References

Problem Types

  • Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE