BACK TO THE WIRE
SW-000205AWS · JSII-DIFF (AWS JSII) · COMMAND LINE ARGUMENT PARSINGHIGHACTION REQUIRED

CVE-2026-15895: OS command injection in jsii-diff versions before 1.131.0

AWS disclosed CVE-2026-15895, an OS command injection vulnerability in jsii-diff, a CLI tool used to compare API differences between jsii assemblies. Specially formatted command line arguments can be used to execute arbitrary shell commands. The issue affects jsii-diff versions prior to 1.131.0 and is fixed in that version.

DEVOPS · SECURITY · VULNERABILITY · SECURITY ADVISORY

PUBLISHED OCT 9, 2026 17:24 UTC

WHAT CHANGED

jsii-diff versions before 1.131.0 are vulnerable to OS command injection via specially crafted command line arguments passed to the tool. The vulnerability has been fixed in jsii-diff 1.131.0.

WHY IT MATTERS

Any CI/CD pipeline, build script, or automation that invokes jsii-diff with arguments derived from untrusted input could allow an attacker to execute arbitrary shell commands on the host running the tool. Administrators and developers using jsii-based tooling should upgrade promptly or restrict who can control arguments passed to jsii-diff to mitigate risk until patched.

WHO IS AFFECTED

ROLES
Developers using jsii-diffSecurity administrators managing CI/CD pipelines
PRODUCTS
jsii-diff (AWS jsii)
FEATURES
API diff comparison between jsii assemblies
CONFIGURATIONS
Versions of jsii-diff prior to 1.131.0
ENVIRONMENTS
Command line / CI/CD pipelines invoking jsii-diff

WHAT TO DO

  1. 01
    HIGHAUTOMATABLE

    Upgrade jsii-diff to version 1.131.0 or later.

    DOCUMENTATION
  2. 02
    HIGH

    Patch any forked or derivative code that incorporates jsii-diff to include the fix.

  3. 03
    MEDIUM

    If unable to upgrade immediately, restrict control over jsii-diff command line arguments to trusted actors only.

TIMELINE

ANNOUNCED
JUL 15, 2026

SOURCES

  • PRIMARY SOURCEAMAZON WEB SERVICES, INC.

    CVE-2026-15895: OS command injection in jsii-diff in AWS jsii

    PUBLISHED JUL 15, 2026VIEW SOURCE

VERIFICATION

HUMAN VERIFIEDLAST VERIFIED OCT 9, 2026 17:24 UTCREVISION 2

ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.

WAS THIS USEFUL?