Vulnerability · Published Jun 10, 2026 · Assigned by AMZN
CVE-2026-11417OS Command Injection in NodejsFunction Bundling in aws-cdk-lib
High 7.3
In plain English
A high-severity OS command injection in AWS Cloud Development Kit library from AWS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
OS command injection in the NodejsFunction local bundling pipeline in aws-cdk-lib before 2.245.0 (2.246.0 on Windows) might allow an actor who controls the value of one or more bundling properties (externalModules, define, loader, inject, or esbuildArgs) to execute arbitrary commands on the host running the CDK toolchain via injected shell metacharacters. This issue requires the threat actor to control the value of one or more of the affected bundling properties in the CDK application. To remediate this issue, users should upgrade to aws-cdk-lib 2.245.0 (2.246.0 on Windows) or later.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | aws-cdk-lib | 2.246.0 | GHSA-999r-qq7v-r334 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| AWS | AWS Cloud Development Kit library | 0 – before 2.245.0 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H