RCE in AWS Cloud Development Kit Library
CVE-2026-11417
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.010, 63.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- AWS Cloud Development Kit Library — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- HeshamASH/CVE-2026-11417-AWS-CDK-RCE (last pushed 2026-06-16): Technical writeup and Proof of Concept (PoC) for CVE-2026-11417: OS Command Injection / Remote Code Execution (RCE) in AWS CDK's NodejsFunction.
References
- aws.amazon.com/security/security-bulletins/2026-041-aws/ (vendor-advisory)
- github.com/aws/aws-cdk/releases/tag/v2.245.0 (patch)
- github.com/aws/aws-cdk/security/advisories/GHSA-999r-qq7v-r334 (third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.