CVE-2026-15895

OS command injection in jsii-diff in AWS jsii

Published Jul 15, 2026 CVSS 4.0 · 8.4 High EPSS 1.1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Github GHSA Github GHSA GHSA-wcx4-wpfv-mc5c jsii-diff: Command Injection via npm: package argument
History
Type Values Removed Values Added
Metrics ssvc

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

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

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
AMZN
Published
Updated
Jul 15, 2026, 7:21 PM
Reserved
Jul 15, 2026, 5:56 PM
Status
Awaiting Analysis
Published
Jul 15, 2026, 7:16 PM
Modified
Oct 24, 2026, 9:10 PM