RCE in AWS Cdk
CVE-2026-13760
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.006 (46.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Aws Cdk — versions 0
Weakness classification (CWE)
References
- ff89ba41-3aa1-4d27-914a-91399e9639e5 (vendor-advisory)
- ff89ba41-3aa1-4d27-914a-91399e9639e5 (patch)
- ff89ba41-3aa1-4d27-914a-91399e9639e5 (third-party-advisory)
Frequently asked questions
- What is CVE-2026-13760?
- CVE-2026-13760 is a high-severity vulnerability in AWS Cdk, classified under OS Command Injection. CVSS score: 7.3/10. Published 2026-07-01.
- How severe is CVE-2026-13760?
- High severity. CVSS v3 base score is 7.3 out of 10.