High severityNVD Advisory· Published Jul 1, 2026· Updated Jul 1, 2026
OS Command Injection in aws-cdk-lib Docker Bundling
CVE-2026-13760
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 packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
aws-cdk-libnpm | < 2.260.0 | 2.260.0 |
Patches
Vulnerability mechanics
References
8- github.com/aws/aws-cdk/releases/tag/v2.260.0ghsapatchWEB
- aws.amazon.com/security/security-bulletins/2026-050-aws/mitrevendor-advisory
- github.com/advisories/GHSA-vcrf-j523-4mrfghsaADVISORY
- github.com/aws/aws-cdk/security/advisories/GHSA-vcrf-j523-4mrfghsathird-party-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-13760ghsaADVISORY
- aws.amazon.com/security/security-bulletins/2026-050-awsghsaWEB
- github.com/aws/aws-cdk/commit/baa9e1dff469306cc23b8f4bd232d703f98bf68aghsaWEB
- github.com/aws/aws-cdk/pull/38133ghsaWEB
News mentions
0No linked articles in our index yet.