CVE-2025-3047 Details
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.
A vulnerability in the AWS Serverless Application Model Command Line Interface (SAM CLI) build process with Docker allows access to privileged files on the host. This issue arises when symlinks are included in the build files, as the container environment permits users to leverage the elevated permissions of SAM CLI to access restricted files via symlinks. Affected versions include AWS SAM CLI through v1.132.0. The vulnerability has been resolved in v1.133.0. Users should upgrade to this version and patch any forked or derivative code to incorporate the new fixes.
Upgrade to AWS SAM CLI version 1.133.0 or newer. To retain the previous behavior and allow symlinks to resolve on the host machine, use the explicit '--mount-symlinks' parameter.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 31, 2025CISA-ADP
Assessed Mar 31, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://aws.amazon.com/security/security-bulletins/AWS-2025-008/ | AMZN | AdvisoryBundleRemedyVendor |
| https://github.com/aws/aws-sam-cli/releases/tag/v1.134.0 | AMZN | |
| https://github.com/aws/aws-sam-cli/security/advisories/GHSA-px37-jpqx-97q9 | AMZN | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-61 | UNIX Symbolic Link (Symlink) Following | AMZN |
Affected Products
| Product | Versions |
|---|---|
| AWS Serverless Application Model Command Line Interface | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | AMZN |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 14, 2025 | CVE Modified | AMZN |
| Oct 14, 2025 | CVE Modified | AMZN |
| Mar 31, 2025 | CVE Modified | AMZN |
| Mar 31, 2025 | New CVE Received | AMZN |
Volerion