{"id":"CVE-2026-11417","published":"2026-06-10T17:39:18Z","modified":"2026-06-10T18:17:44Z","title":"OS Command Injection in NodejsFunction Bundling in aws-cdk-lib","vendor":"AWS","product":"AWS Cloud Development Kit library","tier":"tail","description":{"text":"OS command injection in the NodejsFunction local bundling pipeline in aws-cdk-lib before 2.245.0 (2.246.0 on Windows) might allow an actor who controls the value of one or more bundling properties (externalModules, define, loader, inject, or esbuildArgs) to execute arbitrary commands on the host running the CDK toolchain via injected shell metacharacters. This issue requires the threat actor to control the value of one or more of the affected bundling properties in the CDK application.\n\n\n\nTo remediate this issue, users should upgrade to aws-cdk-lib 2.245.0 (2.246.0 on Windows) or later.","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.66902,"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.245.0","tags":["patch"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-041-aws/","tags":["vendor-advisory"]},{"url":"https://github.com/aws/aws-cdk/security/advisories/GHSA-999r-qq7v-r334","tags":["third-party-advisory"]}],"priority":{"score":23.5,"factors":[{"name":"EPSS percentile","points":13.38},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.11}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-06-13","earliestUrl":"https://github.com/HeshamASH/CVE-2026-11417-AWS-CDK-RCE","repos":[{"name":"HeshamASH/CVE-2026-11417-AWS-CDK-RCE","url":"https://github.com/HeshamASH/CVE-2026-11417-AWS-CDK-RCE","stars":0,"created":"2026-06-13"}]},"first":{"date":"2026-06-13","source":"PoC-in-GitHub","url":"https://github.com/HeshamASH/CVE-2026-11417-AWS-CDK-RCE"},"provenance":"source"},"vendorSlug":"aws","affectedVersions":[{"vendor":"AWS","product":"AWS Cloud Development Kit library","versions":["< 2.245.0"]}],"capec":[{"id":"CAPEC-88","name":"OS Command Injection"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-10T18:17:36.634185Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"aws-cdk-lib","vulnerableRanges":["<2.246.0"],"patched":["2.246.0"],"from":["GHSA-999r-qq7v-r334"],"provenance":"source"}],"summary":{"text":"The flaw is an OS command injection in the local bundling pipeline of NodejsFunction in the AWS Cloud Development Kit library (aws-cdk-lib) before 2.245.0, with 2.246.0 affected on Windows. An attacker who can control the value of one of the bundling properties (externalModules, define, loader, inject, or esbuildArgs) in the CDK application could use injected shell metacharacters to run arbitrary commands on the host running the CDK toolchain, but this requires local access, low privileges, and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:36:49Z"},"euvd":{"id":"EUVD-2026-36076","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,"link":{"from":"CVE-2025-23206","to":"CVE-2026-11417","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:aws-cdk-lib","fromFixed":"2.177.0","toFixed":"2.246.0","daysApart":509}]}},{"cve":"CVE-2026-11417","published":"2026-06-10","fixed":"2.246.0","kev":false},{"cve":"CVE-2026-13760","published":"2026-07-01","fixed":"2.260.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"}]}}],"package":"npm:aws-cdk-lib"}}