{"answers":{"affected":"2 open source packages ship an affected version, including aws-cdk-lib.","exploited":"There is no known exploitation of CVE-2026-13760 in the wild and no public exploit code.","fix":"Upgrade aws-cdk-lib to 2.260.0 or later.","what":"CVE-2026-13760 is a high-severity command injection vulnerability in AWS CDK, published on 1 Jul 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-13760 and fix it if it is affected.\n\nWhat it is: CVE-2026-13760 is a high-severity command injection vulnerability in AWS CDK, published on 1 Jul 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-13760 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.260.0\n- aws-cdk-lib (npm): affected all versions; fixed in 2.260.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-13760/ (Markdown: https://insights.sbomify.com/CVE-2026-13760/index.md)","id":"CVE-2026-13760","markdown":"https://insights.sbomify.com/CVE-2026-13760/index.md","name":"CVE-2026-13760","record":{"aliases":["GHSA-vcrf-j523-4mrf"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"AWS CDK library","requires_auth":"low_privilege","summary":"Attackers controlling package.json dependency strings can execute arbitrary commands on the host during CDK Docker bundling.","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 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\nTo remediate this issue, users should upgrade to v2.260.0.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"OS Command Injection in aws-cdk-lib Docker Bundling","id":"CVE-2026-13760","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":"Denial of service in Pega Infinity","id":"CVE-2026-13761"},"packages":[{"ecosystem":"npm","fixed":["2.260.0"],"introduced":["0"],"last_affected":[],"package":"aws-cdk-lib","purl":null,"source":"GHSA-vcrf-j523-4mrf"},{"ecosystem":"npm","fixed":["2.260.0"],"introduced":["0"],"last_affected":[],"package":"aws-cdk-lib","purl":"pkg:npm/aws-cdk-lib","source":"GHSA-vcrf-j523-4mrf"}],"prev":{"headline":"IBM WebSphere eXtreme Scale is affected by Insecure Deserilization","id":"CVE-2026-13759"},"products":["AWS CDK"],"published":"2026-07-01","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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-01","vendors":["AWS"]},"summary":"Attackers controlling package.json dependency strings can execute arbitrary commands on the host during CDK Docker bundling.","url":"https://insights.sbomify.com/CVE-2026-13760/"}