Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. aws-cdk-lib
  4. ›
  5. CVE-2026-13760

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

July 21, 2026

AWS CDK (aws-cdk-lib) is an open-source framework for defining cloud infrastructure in code and provisioning it through AWS CloudFormation. OS command injection issue in the NodejsFunction Docker bundling pipeline in aws-cdk-lib before 2.260.0 that might allow an 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.

References

  • aws.amazon.com/security/security-bulletins/2026-050-aws
  • github.com/advisories/GHSA-vcrf-j523-4mrf
  • github.com/aws/aws-cdk/commit/baa9e1dff469306cc23b8f4bd232d703f98bf68a
  • github.com/aws/aws-cdk/pull/38133
  • github.com/aws/aws-cdk/releases/tag/v2.260.0
  • github.com/aws/aws-cdk/security/advisories/GHSA-vcrf-j523-4mrf
  • nvd.nist.gov/vuln/detail/CVE-2026-13760

Code Behaviors & Features

Detect and mitigate CVE-2026-13760 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.260.0

Fixed versions

  • 2.260.0

Solution

Upgrade to version 2.260.0 or above.

Impact 7.3 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/aws-cdk-lib/CVE-2026-13760.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:15 +0000.