Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInfluence npm: specifier input
-
DeliveryVictim runs jsii-diff with crafted argument
-
ExploitMetacharacters break out of npm command
-
ExecutionArbitrary commands execute as user
-
ImpactCompromise developer host or CI runner
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that jsii-diff (before 1.131.0) is invoked with the 'npm:' source argument set to an attacker-crafted package specifier - this specific feature/code path is the prerequisite. Per CVSS AV:L and UI:A, the attacker needs no authentication but does need a victim to actively run the tool locally with the malicious input; there is no remote, unattended trigger. This limits realistic exploitation to environments where an adversary can control or influence the 'npm:' argument, such as CI/CD pipelines consuming untrusted specifiers or developers persuaded to run a supplied command. Deployments that never use the 'npm:' source, or that only pass trusted static specifiers, are not exposed. |
| Impact | The vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H, base 8.4) describes a local, low-complexity, unauthenticated vector that requires active user interaction and yields full confidentiality, integrity, and availability impact on the vulnerable system with no scope change. The high base score is driven by the CIA impact of arbitrary code execution, but practical risk is bounded by AV:L and UI:A - someone must actually invoke jsii-diff with the malicious 'npm:' argument, so this is not a remotely-triggerable server flaw. No EPSS score was provided in the input, the vulnerability is not in CISA KEV, and no POC was supplied, so treat exploitation likelihood as low-to-moderate and primarily relevant to CI/CD pipelines or developer workflows that feed untrusted package specifiers into jsii-diff. The signals are internally consistent (local dev-tool command injection); the main missing data is EPSS/exploit-maturity. |
| Exploit ScenarioDerived | An attacker who can influence the 'npm:' package specifier passed to jsii-diff - for example via a pull request, a shared build configuration, or a documented command a maintainer is lured into running - embeds shell metacharacters in the specifier. When a developer or CI job runs jsii-diff with that crafted argument, the injected commands execute with the privileges of that process. No public POC is referenced in the available data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 15, 2026
OS command injection in AWS jsii-diff before 1.131.0 lets a context-dependent attacker execute arbitrary shell commands when a victim runs the tool against an attacker-controlled 'npm:' source specifier. The npm package-loading component fails to sanitize the package specifier before passing it to a shell, so a crafted specifier is interpreted as a command. No public exploit has been identified at time of analysis and it is not listed in CISA KEV; a vendor-released patch (v1.131.0) is available.
RemediationAI
Vendor-released patch: jsii-diff v1.131.0 - upgrade to v1.131.0 or later (see https://github.com/aws/jsii/releases/tag/v1.131.0 and the AWS bulletin https://aws.amazon.com/security/security-bulletins/2026-057-aws/). Until upgrading, do not pass untrusted or externally-influenced values to the 'npm:' source argument of jsii-diff, and avoid running it against attacker-controllable package specifiers in automated CI/CD pipelines; restrict who can supply jsii-diff arguments and treat any 'npm:' input as untrusted. The trade-off of avoiding the 'npm:' source is loss of the ability to diff assemblies loaded directly from npm, requiring you to fetch and reference assemblies from a trusted local path instead.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
jsii-diff is a comparison utility from AWS's jsii toolchain (the technology underpinning AWS CDK's multi-language construct libraries), used to diff two versions of a jsii assembly. It accepts assemblies from several sources, including an 'npm:' source that loads a package by specifier. The root cause is CWE-78 (OS Command Injection): the npm loading component builds a shell command incorporating the user-supplied package specifier without adequate escaping or a shell-free exec, so metacharacters in the specifier break out into the underlying shell. This is a Node.js/npm CLI tooling issue rather than a network service exposure.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local CLI tool requiring a victim to run it with an attacker-controlled npm: argument, so AV:L and UI:R; command injection yields full C/I/A impact without prior authentication.
Primary rating from Vendor (ff89ba41-3aa1-4d27-914a-91399e9639e5).
CVSS VectorVendor: ff89ba41-3aa1-4d27-914a-91399e9639e5
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
AWS jsii-diff prior to version 1.131.0 is vulnerable to code injection attacks when development teams use the tool with untrusted package sources, creating a material risk to developer systems and CI/CD infrastructure. Although no public exploits have been documented, this vulnerability could enable attackers to compromise code integrity, build artifacts, and production systems across your organization. A vendor patch is immediately available and requires urgent deployment to mitigate this risk.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-44768
GHSA-h738-vh6g-q8gh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB