{"id":"CVE-2026-13760","published":"2026-07-01T19:05:18Z","modified":"2026-07-01T19:23:39Z","title":"OS Command Injection in aws-cdk-lib Docker Bundling","vendor":"AWS","product":"AWS CDK","tier":"tail","description":{"text":"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.\n\n\n\nTo remediate this issue, users should upgrade to v2.260.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01159,"percentile":0.67888,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/aws/aws-cdk/releases/tag/v2.260.0","tags":["patch"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-050-aws/","tags":["vendor-advisory"]},{"url":"https://github.com/aws/aws-cdk/security/advisories/GHSA-vcrf-j523-4mrf","tags":["third-party-advisory"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":13.58},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"aws","affectedVersions":[{"vendor":"AWS","product":"AWS CDK","versions":["< 2.260.0"]}],"capec":[{"id":"CAPEC-88","name":"OS Command Injection"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-01T19:23:27.400987Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"aws-cdk-lib","vulnerableRanges":["<2.260.0"],"patched":["2.260.0"],"from":["GHSA-vcrf-j523-4mrf"],"provenance":"source"}],"summary":{"text":"OS command injection in the Docker bundling pipeline of the NodejsFunction construct (OsCommand helper) in AWS CDK's aws-cdk-lib package allows shell metacharacters to be injected through dependency version strings. An attacker who can control a dependency version string in a project's package.json, and who triggers Docker-based bundling with nodeModules specified, can run arbitrary commands on the host running the CDK toolchain, though this requires local access, low privileges, and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:18Z"},"euvd":{"id":"EUVD-2026-41125","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-aws-cloud-development-kit-library-cve-2026-11417","packageHistory":[{"cve":"CVE-2023-35165","published":"2023-06-23","fixed":"2.80.0","kev":false},{"cve":"CVE-2025-23206","published":"2025-01-17","fixed":"2.177.0","kev":false},{"cve":"CVE-2026-11417","published":"2026-06-10","fixed":"2.246.0","kev":false,"link":{"from":"CVE-2026-11417","to":"CVE-2026-13760","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:aws-cdk-lib","fromFixed":"2.246.0","toFixed":"2.260.0","daysApart":21},{"kind":"similar","provenance":"machine","score":0.62,"basis":"same package + description similarity"}]}},{"cve":"CVE-2026-13760","published":"2026-07-01","fixed":"2.260.0","kev":false}],"package":"npm:aws-cdk-lib"}}