CVE-2026-15033

christopherthielen check-peer-dependencies peerDependencies packageUtils.js shelljs.exec os command injection

Published Jul 8, 2026 CVSS 4.0 · 5.3 Medium EPSS 1.8% KEV · Not listed
Description
A flaw has been found in christopherthielen check-peer-dependencies up to 4.3.4. Affected by this vulnerability is the function shelljs.exec of the file dist/packageUtils.js of the component peerDependencies. This manipulation causes os command injection. The attack may be initiated remotely. The project was informed of the problem early through an issue report but has not responded yet.

Analysis

AI-generated

Technical impact

A flaw in the shelljs.exec function within the check‑peer‑dependencies npm package permits an attacker to inject arbitrary operating‑system commands. The vulnerability is an OS Command Injection weakness catalogued as CWE‑77 and CWE‑78. When triggered the underlying node process can execute arbitrary commands, potentially allowing full compromise of the host system’s confidentiality, integrity, and availability.

Affected Systems

The check‑peer‑dependencies npm package, authored by christopherthielen, is affected in all releases up to and including version 4.3.4. Any JavaScript or Node.js project that imports this package to perform peer‑dependency checks—common in build pipelines, continuous integration tools, and local development setups—is at risk.

Risk and Exploitability

The CVSS score of 5.3 indicates medium severity, while the EPSS score of 1% reflects a low but non‑zero likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is remote, most often through a publicly accessible npm registry or by an attacker who can influence the contents of a dependency installation, such as via a compromised npm package source or a malicious commit that pulls in a vulnerable version of check‑peer‑dependencies.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade check‑peer‑dependencies to a newer version once a fix becomes available
  • If an upgrade cannot be performed immediately, patch the package locally by removing or replacing the shelljs.exec call in dist/packageUtils.js or replacing it with a safer alternative that validates all inputs
  • If patching is not feasible, isolate the dependency—run npm install inside a sandboxed container or restrict the node process to execute only as a least‑privileged user, thereby limiting potential damage from any command injection

Generated by OpenCVE AI on August 1, 2026 at 16:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw has been found in christopherthielen check-peer-dependencies up to 4.3.4. Affected by this vulnerability is the function shelljs.exec of the file dist/packageUtils.js of the component peerDependencies. This manipulation causes os command injection. The attack may be initiated remotely. The project was informed of the problem early through an issue report but has not responded yet.
Title christopherthielen check-peer-dependencies peerDependencies packageUtils.js shelljs.exec os command injection
First Time appeared Christopherthielen
Christopherthielen check-peer-dependencies
Weaknesses CWE-77
CWE-78
CPEs cpe:2.3:a:christopherthielen:check-peer-dependencies:*:*:*:*:*:*:*:*
Vendors & Products Christopherthielen
Christopherthielen check-peer-dependencies
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X'}

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jul 8, 2026, 5:08 PM
Reserved
Jul 8, 2026, 7:36 AM
Status
Deferred
Published
Jul 8, 2026, 2:16 PM
Modified
Oct 25, 2026, 8:10 PM