CVE-2025-3048
MEDIUM 6.9CVSS 4.0AWS SAM CLI Path Traversal allows file copy to local cache
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.
- Published
- 31 Mar 2025
- Last modified
- 7 Jul 2026
- Assigned by
- ff89ba41-3aa1-4d27-914a-91399e9639e5
- NVD status
- Deferred
- Weakness
- CWE-22CWE-61
- Also known as
- GHSA-pp64-wj43-xqcrPYSEC-2026-1206
- Sources
- NVDJSONOSV GHSA-pp64-wj43-xqcrJSONOSV PYSEC-2026-1206JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | ff89ba41-3aa1-4d27-914a-91399e9639e5 (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | ff89ba41-3aa1-4d27-914a-91399e9639e5 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | aws-sam-cli | < 1.134.0 | 1.134.0 |
References
- https://aws.amazon.com/security/security-bulletins/AWS-2025-008/ · WEB
- https://github.com/aws/aws-sam-cli/releases/tag/v1.134.0 · WEB
- https://github.com/aws/aws-sam-cli/security/advisories/GHSA-pp64-wj43-xqcr · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-3048 · ADVISORY
- https://github.com/aws/aws-sam-cli/pull/7890 · WEB
- https://github.com/aws/aws-sam-cli · PACKAGE
- https://pypi.org/project/aws-sam-cli · PACKAGE
- https://github.com/advisories/GHSA-pp64-wj43-xqcr · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 31 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Mar 2025)