CVE-2025-3048
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
aws-sam-cliPyPI | < 1.134.0 | 1.134.0 |
Patches
1bde031e2421eVulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
7- github.com/advisories/GHSA-pp64-wj43-xqcrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-3048ghsaADVISORY
- aws.amazon.com/security/security-bulletins/AWS-2025-008ghsaWEB
- github.com/aws/aws-sam-cli/pull/7890ghsaWEB
- github.com/aws/aws-sam-cli/releases/tag/v1.134.0nvdWEB
- github.com/aws/aws-sam-cli/security/advisories/GHSA-pp64-wj43-xqcrnvdWEB
- aws.amazon.com/security/security-bulletins/AWS-2025-008/nvd
News mentions
0No linked articles in our index yet.