CVE-2026-11417OS Command Injection in NodejsFunction Bundling in aws-cdk-lib
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.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| npm library | aws-cdk-lib | Fixed | 2.246.0 | GHSA-999r-qq7v-r334 |
What the vendor says
As published in the CVE record by AMZN, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- AWS Cloud Development Kit library: affected: before 2.245.0; fixed in
2.245.0
Vendor advisories:
- https://github.com/aws/aws-cdk/releases/tag/v2.245.0 (patch)
- https://aws.amazon.com/security/security-bulletins/2026-041-aws/ (vendor-advisory)
References
- https://github.com/aws/aws-cdk/releases/tag/v2.245.0
- https://aws.amazon.com/security/security-bulletins/2026-041-aws/
- https://github.com/aws/aws-cdk/security/advisories/GHSA-999r-qq7v-r334
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.