{"cve":"CVE-2025-3047","nvd":{"published":"2025-03-31T16:15:27.683","modified":"2026-06-17T09:19:05.570","status":"Deferred","description":"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. \n\nUsers should upgrade to v1.133.0 or newer and ensure any forked or derivative code is patched to incorporate the new fixes.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":6.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-61"],"references":["https://aws.amazon.com/security/security-bulletins/AWS-2025-008/","https://github.com/aws/aws-sam-cli/releases/tag/v1.134.0","https://github.com/aws/aws-sam-cli/security/advisories/GHSA-px37-jpqx-97q9"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:00:28.034033815+00:00"},"epss":{"cve":"CVE-2025-3047","score":0.00784,"percentile":0.56073,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-px37-jpqx-97q9","url":"https://osv.dev/vulnerability/GHSA-px37-jpqx-97q9","summary":"AWS SAM CLI Path Traversal allows file copy to build container","modified":"2026-07-07T17:56:46.290168968Z","packages":[{"ecosystem":"PyPI","name":"aws-sam-cli","purl":"pkg:pypi/aws-sam-cli","ranges":["<1.133.0"],"fixed":["1.133.0"]}]},{"id":"PYSEC-2026-1207","url":"https://osv.dev/vulnerability/PYSEC-2026-1207","summary":"AWS SAM CLI Path Traversal allows file copy to build container","modified":"2026-07-07T17:46:33.716397411Z","packages":[{"ecosystem":"PyPI","name":"aws-sam-cli","purl":"pkg:pypi/aws-sam-cli","ranges":["<1.133.0"],"fixed":["1.133.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}