CVE-2025-3048CWE-61

Path Traversal in AWS SAM CLI allows file copy to local cache

Medium · published March 31, 2025

CVSS v4.0
6.9
EPSS
1%
Percentile
50.9
In the wild
Unconfirmed
What it is

After completing a build with AWS Serverless Application Model Command Line Interface (SAM CLI) which include symlinks, the content of those symlinks are copied to the cache of the local workspace as regular files or directories. As a result, a user who does not have access to those symlinks outside of the Docker container would now have access via the local workspace.

Users should upgrade to version 1.134.0 and ensure any forked or derivative code is patched to incorporate the new fixes. After upgrading, users must re-build their applications using the sam build --use-container to update the symlinks.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS
0.00658 · 50.9th percentile
Weakness
CWE-61 · UNIX Symbolic Link (Symlink) Following
Published
2025-03-31T15:21Z
EPSS history
Timeline
  • 31 MAR 15:21Z
    Path Traversal in AWS SAM CLI allows file copy to local cache
    cvelistv5