CVE-2025-3048

Medium

Description

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.

SeverityMedium
CVSS6.5
Exploit probability52. percentile0.7%
ProductAws-sam-cli
PublishedMar 31, 2025
First seenMar 31, 2025
Weakness typeCWE-61CWE-61

How to fix

Affected products

ProductAffected versionsFixed in
aws-sam-cliPyPIv < 1.134.01.134.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.