Duplicate Advisory: Command Injection in jsii-diff via npm: package argument
A command injection vulnerability exists in the npm package loading component of AWS jsii-diff before version 1.131.0. This flaw allows context-dependent attackers to execute arbitrary OS commands by supplying crafted package specifiers to the npm: source argument. The vulnerability is addressed in jsii-diff version 1.131.0 and later.
AI Analysis
Technical Summary
The vulnerability is an OS command injection (CWE-78) in the npm package loading component of AWS jsii-diff prior to version 1.131.0. Attackers can exploit this by passing specially crafted package specifiers to the npm: source argument, potentially leading to arbitrary command execution. This issue has a CVSS 3.1 score of 7.8, indicating high severity with impacts on confidentiality, integrity, and availability. The vulnerability is fixed in version 1.131.0.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary operating system commands with the privileges of the jsii-diff process. This can lead to full compromise of the affected system, including unauthorized data access, modification, or denial of service.
Mitigation Recommendations
Users should upgrade to jsii-diff version 1.131.0 or later to remediate this vulnerability. A patch is available and upgrading is the recommended action.
Duplicate Advisory: Command Injection in jsii-diff via npm: package argument
Description
A command injection vulnerability exists in the npm package loading component of AWS jsii-diff before version 1.131.0. This flaw allows context-dependent attackers to execute arbitrary OS commands by supplying crafted package specifiers to the npm: source argument. The vulnerability is addressed in jsii-diff version 1.131.0 and later.
CVSS v3.1
Score 7.8high
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
The vulnerability is an OS command injection (CWE-78) in the npm package loading component of AWS jsii-diff prior to version 1.131.0. Attackers can exploit this by passing specially crafted package specifiers to the npm: source argument, potentially leading to arbitrary command execution. This issue has a CVSS 3.1 score of 7.8, indicating high severity with impacts on confidentiality, integrity, and availability. The vulnerability is fixed in version 1.131.0.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary operating system commands with the privileges of the jsii-diff process. This can lead to full compromise of the affected system, including unauthorized data access, modification, or denial of service.
Mitigation Recommendations
Users should upgrade to jsii-diff version 1.131.0 or later to remediate this vulnerability. A patch is available and upgrading is the recommended action.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-h738-vh6g-q8gh
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a774326bf8831d539b45ae3
Added to database: 08/08/2026, 14:54:30 UTC
Last enriched: 08/08/2026, 15:36:39 UTC
Last updated: 08/08/2026, 18:05:47 UTC
Views: 4
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.
External Links
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.