Skip to main content

AWS CDK EUVDEUVD-2026-41125

| CVE-2026-13760 HIGH
OS Command Injection (CWE-78)
2026-07-01 AMZN GHSA-vcrf-j523-4mrf
7.0
CVSS 4.0 · Vendor: AMZN
Share

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.3 HIGH

Local build-time path (AV:L) needing control of package.json content (PR:L) and an operator running bundling (UI:R); yields full host code execution (C/I/A:H).

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
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).

CVSS VectorVendor: AMZN

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
A
Scope
X

Lifecycle Timeline

2
Analysis Generated
Jul 01, 2026 - 19:33 vuln.today
CVSS changed
Jul 01, 2026 - 19:22 NVD
7.3 (HIGH) 7.0 (HIGH)

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 5 npm packages depend on aws-cdk-lib (4 direct, 1 indirect)

Ecosystem-wide dependent count for version 2.260.0.

DescriptionCVE.org

OS command injection in the NodejsFunction Docker bundling pipeline (OsCommand helper) in AWS aws-cdk-lib on all platforms might allow a actor who controls dependency version strings in a project's package.json file to execute arbitrary commands on the host running the CDK toolchain via injected shell metacharacters in the OsCommand helper. This issue requires the actor to control the content of a package.json dependency version string that is processed during Docker-based bundling with nodeModules specified.

To remediate this issue, users should upgrade to v2.260.0.

AnalysisAI

OS command injection in AWS aws-cdk-lib lets an actor who controls a dependency version string in a project's package.json run arbitrary commands on the host executing the CDK toolchain. The flaw lives in the OsCommand helper of the NodejsFunction Docker bundling pipeline, which passes unsanitized version strings into a shell during nodeModules installation. There is no public exploit identified at time of analysis and it is not listed in CISA KEV; AWS has released a fixed version (v2.260.0).

Technical ContextAI

AWS CDK (Cloud Development Kit) is an infrastructure-as-code framework; the affected aws-cdk-lib construct library includes the NodejsFunction construct, which can bundle Lambda function dependencies inside a Docker container. During Docker-based bundling with nodeModules specified, the toolchain builds shell commands to install the named dependencies at their declared versions. The internal OsCommand helper composes these commands but fails to neutralize shell metacharacters (CWE-78, OS Command Injection) present in the dependency version strings drawn from package.json, so attacker-controlled version text is interpreted by the shell rather than treated as literal data. The affected component is identified by CPE cpe:2.3:a:aws:aws_cdk:*:*:*:*:*:*:*:* across all platforms.

RemediationAI

Vendor-released patch: v2.260.0 - upgrade aws-cdk-lib to 2.260.0 or later (release notes at https://github.com/aws/aws-cdk/releases/tag/v2.260.0; advisories at https://aws.amazon.com/security/security-bulletins/2026-050-aws/ and https://github.com/aws/aws-cdk/security/advisories/GHSA-vcrf-j523-4mrf). Until you can upgrade, reduce exposure by avoiding Docker-based bundling with nodeModules for NodejsFunction (for example by using local esbuild bundling or pre-built assets), which removes the vulnerable OsCommand path but changes how dependencies are packaged; additionally validate or pin dependency version strings in package.json and treat any package.json originating from untrusted contributors or third-party dependencies as untrusted input, and run CDK synth/bundling in isolated, least-privilege CI runners so a successful injection cannot reach long-lived credentials.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

CVE-2025-34221 CRITICAL POC
10.0 Sep 29

Vasion Print (formerly PrinterLogic) Virtual Appliance Host prior to version 25.2.169 and Application prior to version 2

Share

EUVD-2026-41125 vulnerability details – vuln.today

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