Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Duplicate Advisory: Command Injection in jsii-diff via npm: package argument

0
High
Published: 07/15/2026 (07/15/2026, 21:31:22 UTC)
Source: GCVE Database
Product: jsii-diff

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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

npmghsa
jsii-diff
Affected versions
<1.131.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 15:36:39 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses