CVE-2026-15895: CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') in AWS jsii
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.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-15895) involves improper neutralization of special elements used in OS commands (CWE-78) within the npm package loading component of AWS jsii-diff. Versions prior to 1.131.0 are affected. An attacker can exploit this by providing maliciously crafted package specifiers to the npm: source argument, potentially leading to arbitrary command execution in the context of the affected system. AWS has released a fixed version (1.131.0) to mitigate this issue.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary OS commands on the affected system, which may lead to unauthorized actions or compromise of the environment where jsii-diff is used. The CVSS 4.0 base score of 8.4 indicates a high impact with local attack vector, low complexity, no privileges required, user interaction needed, and high impacts on confidentiality, integrity, and availability.
Mitigation Recommendations
Users should upgrade to AWS jsii-diff version 1.131.0 or later to remediate this vulnerability. Since this is a cloud service managed by AWS, the vendor handles remediation for the cloud-hosted components. Refer to the official AWS security bulletin at https://aws.amazon.com/security/security-bulletins/2026-057-aws/ for the latest guidance and confirmation of patch status.
CVE-2026-15895: CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') in AWS jsii
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.
CVSS v4.0
Score 8.4high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-15895) involves improper neutralization of special elements used in OS commands (CWE-78) within the npm package loading component of AWS jsii-diff. Versions prior to 1.131.0 are affected. An attacker can exploit this by providing maliciously crafted package specifiers to the npm: source argument, potentially leading to arbitrary command execution in the context of the affected system. AWS has released a fixed version (1.131.0) to mitigate this issue.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary OS commands on the affected system, which may lead to unauthorized actions or compromise of the environment where jsii-diff is used. The CVSS 4.0 base score of 8.4 indicates a high impact with local attack vector, low complexity, no privileges required, user interaction needed, and high impacts on confidentiality, integrity, and availability.
Mitigation Recommendations
Users should upgrade to AWS jsii-diff version 1.131.0 or later to remediate this vulnerability. Since this is a cloud service managed by AWS, the vendor handles remediation for the cloud-hosted components. Refer to the official AWS security bulletin at https://aws.amazon.com/security/security-bulletins/2026-057-aws/ for the latest guidance and confirmation of patch status.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- AMZN
- Date Reserved
- 2026-07-15T17:56:36.976Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
- Vendor Advisory Urls
- [{"url":"https://aws.amazon.com/security/security-bulletins/2026-057-aws/","vendor":"AWS"}]
Threat ID: 6a57dcf368715ace434afb58
Added to database: 07/15/2026, 19:18:11 UTC
Last enriched: 07/15/2026, 19:33:13 UTC
Last updated: 07/16/2026, 03:33:29 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.