CVE-2026-13760 OS Command Injection in aws-cdk-lib Docker Bundling
HighCVSS 7.0
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- DockerCloud Platforms
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| AWS CDK | < 2.260.0 | 2.260.0 | Fixed |
| npm aws-cdk-lib(npm) | < 2.260.0 | 2.260.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| AWS CDK | < 2.260.0 | 2.260.0 |
| npm aws-cdk-lib(npm) | < 2.260.0 | 2.260.0 |
References
- github.com patch
- aws.amazon.com vendor-advisory
- github.com third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com
- github.com product