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.

EPSS: 0.007 (50.3th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-3047?
CVE-2025-3047 is a medium-severity vulnerability in Aws Serverless Application Model Command Line Interface, classified under UNIX Symbolic Link (Symlink) Following. CVSS score: 6.5/10. Published 2025-03-31.
How severe is CVE-2025-3047?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2025-3047 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.