Vulnerability in AWS Serverless Application Model Command Line Interface
CVE-2025-3047
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.008, 56.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- AWS Serverless Application Model Command Line Interface — versions 1.98.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- murataydemir/AWS-SAM-CLI-Vulnerabilities (last pushed 2025-04-07): Issue with AWS SAM CLI (CVE-2025-3047, CVE-2025-3048)
Also mentioned in 2 other repositories (nomi-sec/PoC-in-GitHub, plzheheplztrying/cve_monitor). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- aws.amazon.com/security/security-bulletins/AWS-2025-008/ (vendor-advisory)
- github.com/aws/aws-sam-cli/security/advisories/GHSA-px37-jpqx-97q9 (third-party-advisory)
- github.com/aws/aws-sam-cli/releases/tag/v1.134.0 (patch)
This CVE has public exploit evidence. See the latest CVEs with public exploits.