CVE-2025-3048 Details
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.
A path traversal vulnerability has been identified in AWS Serverless Application Model Command Line Interface (SAM CLI) versions through 1.133.0. This issue arises when a build includes symlinks, as the content of these links is copied to the local workspace cache as regular files or directories. Consequently, a user without access to the original symlinks outside the Docker container could gain access to the linked content via the local workspace. The vulnerability is limited to workspaces using AWS SAM CLI with container builds, potentially exposing the contents of linked files from the SAM CLI cache.
Users should upgrade to AWS SAM CLI version 1.134.0 or newer and ensure any forked or derivative code is patched to incorporate the new fixes. After upgrading, users must rebuild their applications using the 'sam build --use-container' command to update the symlinks.
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 | AdvisoryBroken LinkVendor |
| https://github.com/aws/aws-sam-cli/releases/tag/v1.134.0 | AMZN | |
| https://github.com/aws/aws-sam-cli/security/advisories/GHSA-pp64-wj43-xqcr | 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