# CVE-2026-129943: Prime CMS through 0.4.0-beta.0 OS Command Injection via updateSystem Mutation

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.70%, higher than 77% of CVEs (2026-12-01)
- Published: 2026-11-16T15:06:13.430Z
- Modified: 2026-11-18T15:17:40.503Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- birkir prime: up to 0.4.0-beta.0

## Every score

- VulnCheck: CVSS:4.0 8.6 High `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`
- VulnCheck: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/birkir/prime/issues/549> (issue-tracking)
- <https://github.com/birkir/prime/blob/v0.3.4-beta.3/packages/prime-core/src/modules/internal/resolvers/PrimeResolver.ts#L110-L132> (technical-description)
- <https://github.com/birkir/prime/blob/v0.3.4-beta.3/packages/prime-core/src/modules/internal/utils/updateNpmPackages.ts#L4-L15> (technical-description)
- <https://www.vulncheck.com/advisories/prime-cms-through-0.4.0-beta.0-os-command-injection-via-updatesystem-mutation> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-129943](https://www.cve.org/CVERecord?id=CVE-2026-129943), CVE Terms of Use, modified 2026-11-18
- NVD: [CVE-2026-129943](https://nvd.nist.gov/vuln/detail/CVE-2026-129943), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-129943 · Whole record: https://cve.day/CVE-2026-129943.json · Rebuilt by cve.day 2026-11-25T22:59:50.889Z
