What’s Vulnerable › Vulnerabilities
CVE-2026-11417: OS Command Injection in NodejsFunction Bundling in aws-cdk-lib
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-10 · updated 2026-10-26
- Weakness: CWE-78
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 products
- AWS Cloud Development Kit library: before 2.245.0 — fixed in 2.245.0
How to fix
Upgrade to a fixed version: AWS Cloud Development Kit library 2.245.0. Check the vendor advisory for mitigations.
References
- https://aws.amazon.com/security/security-bulletins/2026-041-aws/
- https://github.com/aws/aws-cdk/releases/tag/v2.245.0
- https://github.com/aws/aws-cdk/security/advisories/GHSA-999r-qq7v-r334
Get alerted when CVE-2026-11417 or the next vulnerability affects your stack