CVE-2025-3048
After completing a build with AWS Serverless Application Model …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/aws/aws-sam-cli/security/advisories/GHSA-pp64-wj43-xqcr
- nvd.nist.gov/vuln/detail/CVE-2025-3048
- github.com/aws/aws-sam-cli/pull/7890
- aws.amazon.com/security/security-bulletins/AWS-2025-008
- github.com/aws/aws-sam-cli/releases/tag/v1.134.0
- github.com/advisories/GHSA-pp64-wj43-xqcr
- aws.amazon.com/security/security-bulletins/AWS-2025-008/
- nvd.nist.gov/vuln/detail/CVE-2025-3048
- cve.org/CVERecord?id=CVE-2025-3048
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.