CVE-2025-3048

published 31 Mar 2025 · updated 14 Oct 2025

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

6.5MediumCVSS 6.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.134.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
AWS>=1.9.0 <1.134.01.134.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-3048 severity on Zeptric[![CVE-2025-3048](https://zeptric.io/badge/cve/CVE-2025-3048.svg)](https://zeptric.io/cve/CVE-2025-3048)