p PatchFirst

CVE-2026-13760

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.0 · High · EPSS 1.2% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • aws cdk

    Versions
    • ≥ 0, < 2.260.0: Affected (custom)

    Update to 2.260.0

  • aws-cdk-lib npm

    Affected ranges
    • SEMVER: < 2.260.0

    Update to 2.260.0

Original sources

Check your server →