Skip to main content
← All vulnerabilities
CVE-2026-13760GHSA-VCRF-J523-4MRF

OS Command Injection in aws-cdk-lib Docker Bundling

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.260.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • AWS AWS CDK

    fixed in 2.260.0

  • aws-cdk-libnpm

    fixed in 2.260.0

References 3

GitHub · aws/aws-cdk

aws.amazon.com