Vulnerability · Published Jul 1, 2026 · Assigned by AMZN

CVE-2026-13760OS Command Injection in aws-cdk-lib Docker Bundling

High 7.3

In plain English

A high-severity OS command injection in AWS CDK from AWS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)1.2%top 32.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmaws-cdk-lib2.260.0GHSA-vcrf-j523-4mrf

Affected products (as reported)

VendorProductVersions
AWS AWS CDK 0 – before 2.260.0

Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

References