CVE-2026-13760

OS Command Injection in aws-cdk-lib Docker Bundling

Published Jul 1, 2026 CVSS 4.0 · 7 High EPSS 1.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vcrf-j523-4mrf aws-cdk-lib: OS Command Injection in NodejsFunction Docker Bundling
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title OS Command Injection in aws-cdk-lib Docker Bundling
First Time appeared Aws
Aws aws Cdk
Weaknesses CWE-78
CPEs cpe:2.3:a:aws:aws_cdk:*:*:*:*:*:*:*:*
Vendors & Products Aws
Aws aws Cdk
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
AMZN
Published
Updated
Jul 1, 2026, 7:23 PM
Reserved
Jun 29, 2026, 6:12 PM
Status
Awaiting Analysis
Published
Jul 1, 2026, 7:16 PM
Modified
Oct 25, 2026, 4:10 PM