CVE-2026-13760 Details
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.
A command injection vulnerability has been identified in the Node.js Function Docker bundling pipeline of AWS CDK's aws-cdk-lib, affecting versions prior to 2.260.0. This vulnerability allows an actor to execute arbitrary commands on the host running the CDK toolchain by injecting shell metacharacters into dependency version strings within a project's package.json file. The issue arises during Docker-based bundling when the nodeModules option is specified, and it requires control over the version strings of listed modules, potentially through untrusted npm packages.
Upgrade aws-cdk-lib to version 2.260.0 or later. If using a forked or derivative version of the library, ensure it is patched to include the fix.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | AMZN |
Affected Products
No affected product data is available for this CVE.
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 1, 2026 | CVE Modified | CISA-ADP |
| Jul 1, 2026 | New CVE Received | AMZN |