CVE-2025-3047
When running the AWS Serverless Application Model Command Line …
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.
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-px37-jpqx-97q9
- nvd.nist.gov/vuln/detail/CVE-2025-3047
- github.com/aws/aws-sam-cli/pull/7865
- aws.amazon.com/security/security-bulletins/AWS-2025-008
- github.com/aws/aws-sam-cli/releases/tag/v1.134.0
- github.com/advisories/GHSA-px37-jpqx-97q9
- aws.amazon.com/security/security-bulletins/AWS-2025-008/
- nvd.nist.gov/vuln/detail/CVE-2025-3047
- cve.org/CVERecord?id=CVE-2025-3047
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.