CVE-2025-3048
published medium CVSS 4.0 · 6.9Path Traversal in AWS SAM CLI allows file copy to local cache
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AWS | — | AWS Serverless Application Model Command Line Interface1.9.0 to < 1.134.0 · Other versions: unaffected | Affected | Not stated | AMZN |
Description
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.
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.9.0 to < 1.134.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 local cache
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- beeedc8acb04b693ad0ef79a0a3099b6f45ec71ff1001c5f0934d3ac8cda528f
- Ingested
- 23 Sep 2026, 08:47:25 UTC
- Source record
- Official CVE record