BACK TO THE WIRE
SW-000214AMAZON WEB SERVICES · AWS-CDK-LIB · AWS CDK · ASSET BUNDLING (DOCKER FILE OUTPUT HANDLING)HIGHACTION REQUIRED

CVE-2026-107608: Symlink injection in AWS CDK Docker asset bundling before v2.267.0

AWS disclosed CVE-2026-107608 affecting all aws-cdk-lib versions prior to 2.267.0. A malicious or misconfigured Docker file used during AWS CDK asset bundling could insert symlinked files or directories into the bundling output without those symlinks being part of the original input, potentially exposing unexpected file content. The issue is fixed in aws-cdk-lib 2.267.0.

DEVOPS · SECURITY · SECURITY ADVISORY · VULNERABILITY

PUBLISHED OCT 9, 2026 17:23 UTC

WHAT CHANGED

Prior to version 2.267.0, AWS CDK's asset bundling process, when invoked with a Docker file, improperly resolved links and allowed a Docker file to insert symlinked files or directories into the bundling output that were not provided as legitimate input to the bundling process. This has been corrected in aws-cdk-lib 2.267.0.

WHY IT MATTERS

Administrators using AWS CDK to bundle assets via Docker files could unknowingly include unintended or sensitive files/directories in deployment outputs due to unresolved symlinks, risking exposure of unexpected information. Teams should upgrade aws-cdk-lib to 2.267.0 or later, and in the interim audit Docker bundling containers and dependencies to ensure no untrusted code executes within the bundling environment.

WHO IS AFFECTED

ROLES
Developers and administrators using AWS CDK with Docker-based asset bundling
PRODUCTS
aws-cdk-lib
FEATURES
Docker file asset bundling output handlingSymlink resolution in bundling process
CONFIGURATIONS
aws-cdk-lib versions before 2.267.0

WHAT TO DO

  1. 01
    HIGHAUTOMATABLE

    Upgrade aws-cdk-lib to version 2.267.0 or later to remediate CVE-2026-107608.

    DOCUMENTATION
  2. 02
    HIGH

    Patch any forked or derivative AWS CDK code to incorporate the fix from 2.267.0.

  3. 03
    MEDIUM

    If immediate upgrade is not possible, audit all Docker bundling containers and their dependencies to confirm no untrusted code executes inside the configured bundling environment.

TIMELINE

ANNOUNCED
OCT 8, 2026

SOURCES

  • PRIMARY SOURCEAWS

    CVE-2026-107608: Improper link resolution in asset bundling output handling in aws-cdk-lib

    PUBLISHED OCT 8, 2026VIEW SOURCE

VERIFICATION

HUMAN VERIFIEDLAST VERIFIED OCT 9, 2026 17:23 UTCREVISION 2

ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.

WAS THIS USEFUL?