Intel

AIKIDO-2026-10855

jsii-diff is vulnerable to Command Injection

Command Injection Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 20, 2026

78

High Risk

This Affects:

JSjsii-diff
0.9.0 - 1.130.0
Fixed in 1.131.0
Are you affected? Scan for Free

TL;DR

jsii-diff accepts npm: package specifiers and interpolates the package string into shell-executed npm install and npm show commands. A crafted package specifier can inject shell metacharacters and execute additional commands when jsii-diff downloads a package for comparison. This can compromise developer machines or CI jobs that run jsii-diff on untrusted package input. The fix validates the npm package specifier against an allowlist before invoking shell-backed npm commands.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

jsii-diff is vulnerable to Command Injection in versions 0.9.0 - 1.130.0.

How to fix this

Upgrade the jsii-diff library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform