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.
Published: 2026-07-08
Score: 5.3 Medium
EPSS: 1.1% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the shelljs.exec function within the check‑peer‑dependencies package allows an adversary 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 leading to full compromise of confidentiality, integrity, and availability of the host system.

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 for 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 the CISA 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.

Generated by OpenCVE AI on July 25, 2026 at 20:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

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

Generated by OpenCVE AI on July 25, 2026 at 20:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 08 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 08 Jul 2026 13:30:00 +0000

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'}


Subscriptions

Christopherthielen Check-peer-dependencies
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-08T17:08:58.946Z

Reserved: 2026-07-08T07:36:46.092Z

Link: CVE-2026-15033

cve-icon Vulnrichment

Updated: 2026-07-08T14:15:45.690Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-25T21:00:14Z

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')