CVE-2025-3047CWE-61

Path Traversal in AWS SAM CLI allows file copy to build container

Medium · published March 31, 2025

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

When running the AWS Serverless Application Model Command Line Interface (SAM CLI) build process with Docker and symlinks are included in the build files, the container environment allows a user to access privileged files on the host by leveraging the elevated permissions granted to the tool. A user could leverage the elevated permissions to access restricted files via symlinks and copy them to a more permissive location on the container.

Users should upgrade to v1.133.0 or newer and ensure any forked or derivative code is patched to incorporate the new fixes.

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.00769 · 55.1th 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 build container
    cvelistv5