AWS patches OS command injection flaw in jsii-diff tool
AWS releases jsii-diff 1.131.0 to fix CVE-2026-15895, allowing attackers to run shell commands via crafted arguments.

Key points
- AWS fixed an OS command injection vulnerability in the jsii-diff command-line utility.
- The flaw, tracked as CVE-2026-15895, allows execution of shell commands through specially formatted inputs.
- Users are advised to upgrade to version 1.131.0 or restrict argument control to trusted actors.
AWS released a security update on July 15, 2026, addressing an operating system command injection vulnerability in its jsii-diff tool. The issue, identified as CVE-2026-15895, allows attackers to execute arbitrary shell commands by passing specially formatted arguments to the utility.
The company classified the bulletin as important and requires attention. jsii-diff is a command-line utility designed to compare API differences between two jsii assemblies. It reports errors when backwards-incompatible changes occur in the API structure.
Context and Background
The vulnerability exists within the jsii-diff tool itself, which is part of the AWS jsii ecosystem. According to the advisory, the flaw permits the execution of shell commands via the tool when it processes crafted command-line arguments.
AWS credited Junming Wu for collaborating on the issue through the coordinated vulnerability disclosure process. The bulletin was published on July 15, 2026, at 12:00 PM PDT and last updated on July 16, 2026, at 10:30 AM PDT.
Who Is Affected
Developers and security professionals using jsii-diff to analyze API changes are affected by this vulnerability. The tool is commonly used to ensure compatibility between jsii assemblies, making it a potential target for manipulation if arguments are not strictly controlled.
Any forked or derivative code based on jsii-diff must be patched to incorporate the new fixes. Users who have modified the original tool need to verify that their custom versions include the security updates provided in the latest release.
What should you do?
AWS recommends upgrading to jsii-diff version 1.131.0 immediately. This version contains the fix for CVE-2026-15895 and addresses the OS command injection issue. Users should ensure all instances of the tool in their environments are updated.
If updating is not immediately possible, organizations must ensure that only trusted actors can control the arguments passed to jsii-diff. Restricting input sources helps mitigate the risk of executing malicious shell commands through crafted arguments.
Background: Coordinated vulnerability disclosure
Coordinated vulnerability disclosure reveals software flaws to vendors before public release. Small teams must patch during this quiet period. Monitor vendor security pages, prioritize critical updates, and verify that your IT provider tracks these disclosures to prevent exploitation of known weaknesses before public patches arrive.
Read the full guide: Coordinated Vulnerability Disclosure for Small Teams
What to do and how to stay safe: AWS
- Update jsii-diff to version 1.131.0 or later to apply the official security patch.
- Audit forked or derivative code to ensure it incorporates the latest fixes from AWS.
- Restrict command-line argument inputs to trusted sources if immediate updates are not feasible.
- Monitor AWS security bulletins for further updates or related advisories regarding jsii tools.
Step-by-step guide: Risk-Based Vulnerability Management: Prioritize Fixes by Actual Danger
General security guidance from the Threat Times newsroom. It is not confirmed advice from the organisations named in this story.
Frequently asked questions
What is CVE-2026-15895?
It is an OS command injection vulnerability in the jsii-diff tool that allows execution of shell commands via specially formatted arguments.
Which version fixes the vulnerability?
The issue has been addressed in jsii-diff version 1.131.0.
Who discovered this vulnerability?
Junming Wu collaborated with AWS through the coordinated vulnerability disclosure process to identify and resolve the issue.


