RewindexCVEsAmazon Web Services
CVE-2025-3048: Path Traversal in AWS SAM CLI allows file copy to local cache
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.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N · CWE-61
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
AWS: AWS Serverless Application Model Command Line Interface
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- aws.amazon.com/security/security-bulletins/AWS-2025-008/ (opens in new tab)
- github.com/aws/aws-sam-cli/releases/tag/v1.134.0 (opens in new tab)
- github.com/aws/aws-sam-cli/security/advisories/GHSA-pp64-wj43-xqcr (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)