Vulnerability in Aws Serverless Application Model Command Line Interface
CVE-2025-3048
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.
EPSS: 0.006 (46.1th 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
- Aws Serverless Application Model Command Line Interface — versions 1.9.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- ff89ba41-3aa1-4d27-914a-91399e9639e5 (vendor-advisory)
- ff89ba41-3aa1-4d27-914a-91399e9639e5 (third-party-advisory)
- ff89ba41-3aa1-4d27-914a-91399e9639e5 (patch)
Frequently asked questions
- What is CVE-2025-3048?
- CVE-2025-3048 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-3048?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2025-3048 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.