{"answers":{"affected":"2 open source packages ship an affected version, including aws-cdk-lib.","exploited":"There is no known exploitation of CVE-2026-11417 in the wild and no public exploit code.","fix":"Upgrade aws-cdk-lib to 2.246.0 or later.","what":"CVE-2026-11417 is a high-severity command injection vulnerability in AWS Cloud Development Kit library, published on 10 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-11417 and fix it if it is affected.\n\nWhat it is: CVE-2026-11417 is a high-severity command injection vulnerability in AWS Cloud Development Kit library, published on 10 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-11417 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- aws-cdk-lib (npm): affected all versions; fixed in 2.246.0\n- aws-cdk-lib (npm): affected all versions; fixed in 2.246.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-11417/ (Markdown: https://insights.sbomify.com/CVE-2026-11417/index.md)","id":"CVE-2026-11417","markdown":"https://insights.sbomify.com/CVE-2026-11417/index.md","name":"CVE-2026-11417","record":{"aliases":["GHSA-999r-qq7v-r334"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"AWS CDK library","requires_auth":"low_privilege","summary":"Attackers controlling CDK bundling properties can execute arbitrary commands on the host running the CDK toolchain via shell metacharacters.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"AMZN","cpe":[],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"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\nTo remediate this issue, users should upgrade to aws-cdk-lib 2.245.0 (2.246.0 on Windows) or later.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-06-13","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-06-13T14:55:19Z","kind":"github_poc","ref":"https://github.com/HeshamASH/CVE-2026-11417-AWS-CDK-RCE","stars":0,"title":"Technical writeup and Proof of Concept (PoC) for CVE-2026-11417: OS Command Injection / Remote Code Execution (RCE) in AWS CDK's NodejsFunction."}],"tier":"poc_unverified"},"has_fix":true,"headline":"OS Command Injection in NodejsFunction Bundling in aws-cdk-lib","id":"CVE-2026-11417","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2026-11418"},"packages":[{"ecosystem":"npm","fixed":["2.246.0"],"introduced":["0"],"last_affected":[],"package":"aws-cdk-lib","purl":null,"source":"GHSA-999r-qq7v-r334"},{"ecosystem":"npm","fixed":["2.246.0"],"introduced":["0"],"last_affected":[],"package":"aws-cdk-lib","purl":"pkg:npm/aws-cdk-lib","source":"GHSA-999r-qq7v-r334"}],"prev":{"headline":"MoviePilot Path Traversal via Cloud Storage Download Handlers","id":"CVE-2026-11416"},"products":["AWS Cloud Development Kit library"],"published":"2026-06-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-10","vendors":["AWS"]},"summary":"Attackers controlling CDK bundling properties can execute arbitrary commands on the host running the CDK toolchain via shell metacharacters.","url":"https://insights.sbomify.com/CVE-2026-11417/"}