CVE-2025-3048AWS Serverless Application Model Command Line Interface
Medium 6.9 No auth needed
Follow: this CVE · AWS · AWS Serverless Application Model Command Line Interface We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 4.0
- 6.9
- EPSS
- —
- Auth required
- No
- Published
- Mar 31, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-61
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for AWS Serverless Application Model Command Line Interface.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | aws-sam-cli |
< 1.134.0 |
1.134.0 |
pip install "aws-sam-cli>=1.134.0" |
| PyPI | aws-sam-cli |
< 1.134.0 |
1.134.0 |
pip install "aws-sam-cli>=1.134.0" |
Per OSV / GitHub Advisories (GHSA-pp64-wj43-xqcr, PYSEC-2026-1206). Check the version in your lockfile before upgrading.
Affected products
- AWS · AWS Serverless Application Model Command Line Interface
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.