High severity · published Jul 1, 2026
CVE-2026-13760
OS Command Injection in aws-cdk-lib Docker Bundling
7.3
CVSS
1.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 67% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AC
AWS CDK · AWS
before 2.260.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-13760
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-13760
aws.amazon.com
https://aws.amazon.com/security/security-bulletins/2026-050-aws/
github.com
https://github.com/aws/aws-cdk/releases/tag/v2.260.0
github.com
https://github.com/aws/aws-cdk/security/advisories/GHSA-vcrf-j523-4mrf
More from AWS CDK
8.1
CVE-2025-23206
IAM OIDC custom resource allows connection to unauthorized OIDC provider in aws-cdk
6.4
CVE-2024-45037
AWS CDK RestApi not generating authorizationScope correctly in resultant CFN template
