CVE-2025-3047
published medium CVSS 4.0 · 6.9Path Traversal in AWS SAM CLI allows file copy to build container
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AWS | — | AWS Serverless Application Model Command Line Interface1.98.0 to < 1.133.0 · Other versions: unaffected | Affected | Not stated | AMZN |
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. Users should upgrade to v1.133.0 or newer and ensure any forked or derivative code is patched to incorporate the new fixes.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- AMZN · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | AMZN · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| AWS | AWS Serverless Application Model Command Line Interface | 1.98.0 to < 1.133.0 (affected · semver)Default: unaffected | AMZN · cna |
Weaknesses
1- CWE-61 CWE-61: UNIX Symbolic Link (Symlink) Following
References
3Provider assertions
2AMZN · cna
Path Traversal in AWS SAM CLI allows file copy to build container
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8dfe8a9e2855de0829077054353a73a17bd10d9718bcc7c1ffbbfc4a225845b6
- Ingested
- 23 Sep 2026, 08:47:25 UTC
- Source record
- Official CVE record