Description
OS command injection in the npm package loading component in AWS jsii-diff before 1.131.0 might allow context-dependent attackers to execute arbitrary commands via crafted package specifiers passed to the npm: source argument.



To mitigate this issue, users should upgrade to jsii-diff v1.131.0 or later.
Published: 2026-07-15
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OS command injection in AWS jsii‑diff’s npm package loader allows attackers to supply a crafted npm:source argument, causing arbitrary command execution via the operating system, which is a CWE‑78 vulnerability and enables remote code execution on the host running jsii‑diff, jeopardizing confidentiality, integrity, and availability of the build environment.

Affected Systems

All versions of AWS jsii‑diff earlier than 1.131.0 are vulnerable. Users who run these releases in CI/CD pipelines, build scripts, or other automated contexts are at risk.

Risk and Exploitability

The CVSS score of 8.4 indicates high severity, yet the EPSS score of < 1% suggests exploitation is unlikely under normal circumstances. Because the vulnerability requires a crafted npm source argument, attackers would need to influence the build configuration or supply untrusted package specifiers. If exploited, the attacker would gain unrestricted command execution on the host, potentially compromising the entire build infrastructure. The vulnerability is not listed in the CISA KEV catalog.

Generated by OpenCVE AI on July 31, 2026 at 03:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade jsii‑diff to version 1.131.0 or later
  • Restrict npm source arguments to known, trusted registries and validate input in build scripts
  • Pin npm package specifications and avoid passing untrusted sources to jsii‑diff
  • Monitor build processes for unexpected least privilege on the build host

Generated by OpenCVE AI on July 31, 2026 at 03:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 15 Jul 2026 19:15:00 +0000

Type Values Removed Values Added
Description OS command injection in the npm package loading component in AWS jsii-diff before 1.131.0 might allow context-dependent attackers to execute arbitrary commands via crafted package specifiers passed to the npm: source argument. To mitigate this issue, users should upgrade to jsii-diff v1.131.0 or later.
Title OS command injection in jsii-diff in AWS jsii
First Time appeared Aws
Aws jsii
Weaknesses CWE-78
CPEs cpe:2.3:a:aws:jsii:*:*:*:*:*:*:*:*
Vendors & Products Aws
Aws jsii
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: AMZN

Published:

Updated: 2026-07-15T19:21:30.087Z

Reserved: 2026-07-15T17:56:36.976Z

Link: CVE-2026-15895

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T03:15:04Z

Weaknesses
  • CWE-78

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