Symlink Attack Affecting aws-cdk-lib package, versions <2.267.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-AWSCDKLIB-20834877
  • published12 Oct 2026
  • disclosed8 Oct 2026
  • creditUnknown

Introduced: 8 Oct 2026

NewCVE-2026-107608  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade aws-cdk-lib to version 2.267.0 or higher.

Overview

aws-cdk-lib is a Version 2 of the AWS Cloud Development Kit library

Affected versions of this package are vulnerable to Symlink Attack in the asset bundling output handling, which accepts a symbolic link that the Docker build placed in the output directory even though no such link was supplied as bundling input. An attacker who controls the Dockerfile, or code running inside the bundling container, can place a symbolic link into the produced asset that points outside the supplied inputs. This requires asset bundling with a Docker file.

CVSS Base Scores

version 4.0
version 3.1