What’s Vulnerable › Vulnerabilities
CVE-2026-13760: OS Command Injection in aws-cdk-lib Docker Bundling
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-01 · updated 2026-10-25
- Weakness: CWE-78
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 products
- AWS CDK: before 2.260.0 — fixed in 2.260.0
How to fix
Upgrade to a fixed version: AWS CDK 2.260.0. Check the vendor advisory for mitigations.
References
- https://aws.amazon.com/security/security-bulletins/2026-050-aws/
- https://github.com/aws/aws-cdk/releases/tag/v2.260.0
- https://github.com/aws/aws-cdk/security/advisories/GHSA-vcrf-j523-4mrf
Get alerted when CVE-2026-13760 or the next vulnerability affects your stack