Technical impact
The vulnerability is an OS command injection located in the updateSystem GraphQL mutation of Prime CMS. Authenticated administrators can inject shell metacharacters into the version field, which is used unvalidated in a yarn add or npm install call via child_process.exec. This allows arbitrary command execution on the host. The weakness corresponds to CWE-78.
Affected Systems
Birkir’s Prime CMS (prime) is affected in all releases up to and including 0.4.0-beta.0. Users running Prime CMS 0.4.0-beta.0 or earlier are potentially vulnerable. There are no affected versions beyond 0.4.0-beta.0 explicitly listed.
Risk and Exploitability
With a CVSS score of 8.6 the vulnerability is considered high severity. The EPSS score is not available, and the issue is not listed in CISA’s KEV catalog. Exploitation requires administrative authentication to the GraphQL endpoint and the ability to supply a crafted version string. Once privileged access is obtained, an attacker can run arbitrary shell commands, potentially compromising the entire server.