CVE-2025-3047AWS 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
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.
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.133.0 |
1.133.0 |
pip install "aws-sam-cli>=1.133.0" |
| PyPI | aws-sam-cli |
< 1.133.0 |
1.133.0 |
pip install "aws-sam-cli>=1.133.0" |
Per OSV / GitHub Advisories (GHSA-px37-jpqx-97q9, PYSEC-2026-1207). 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.