# CVE-2026-13760: OS Command Injection in aws-cdk-lib Docker Bundling

- Severity: High 7.0 (CVSS:4.0, scored by AMZN) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.85%, higher than 59% of CVEs (2026-12-01)
- Published: 2026-07-01T19:05:18.671Z
- Modified: 2026-10-25T16:10:00.147Z
- Also known as: GHSA-vcrf-j523-4mrf
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: AMZN

## 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.

(As written by CVE List.)

## Affected

- AWS AWS CDK: before 2.260.0
- aws-cdk-lib (npm): before 2.260.0

## Every score

- AMZN: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- AMZN: CVSS:4.0 7.0 High `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`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/aws/aws-cdk/releases/tag/v2.260.0> (patch, web)
- <https://aws.amazon.com/security/security-bulletins/2026-050-aws/> (vendor-advisory)
- <https://github.com/aws/aws-cdk/security/advisories/GHSA-vcrf-j523-4mrf> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-13760> (advisory)
- <https://github.com/aws/aws-cdk/pull/38133> (web)
- <https://github.com/aws/aws-cdk/commit/baa9e1dff469306cc23b8f4bd232d703f98bf68a> (web)
- <https://aws.amazon.com/security/security-bulletins/2026-050-aws> (web)
- <https://github.com/aws/aws-cdk> (package)

## Sources

- CVE List: [CVE-2026-13760](https://www.cve.org/CVERecord?id=CVE-2026-13760), CVE Terms of Use, modified 2026-07-01
- GitHub Advisory Database: [GHSA-vcrf-j523-4mrf](https://github.com/advisories/GHSA-vcrf-j523-4mrf), CC-BY-4.0, modified 2026-07-21
- NVD: [CVE-2026-13760](https://nvd.nist.gov/vuln/detail/CVE-2026-13760), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-13760 · Whole record: https://cve.day/CVE-2026-13760.json · Rebuilt by cve.day 2026-11-25T22:59:26.945Z
