CVE-2025-3047

Medium

Description

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.

SeverityMedium
CVSS6.5
Exploit probability—
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.133.01.133.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.

CVE-2025-3047 · Aws-sam-cli · Dark Radar