# CVE-2025-3048: Path Traversal in AWS SAM CLI allows file copy to local cache

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-03-31 · Modified: 2025-10-14
- Aliases: GHSA-pp64-wj43-xqcr, PYSEC-2026-1206
- Record: https://cvemate.com/vulnerability/CVE-2025-3048 · JSON: https://cvemate.com/vulnerability/CVE-2025-3048/json

## Description

```text
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.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) 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
- EPSS: 0.658%, percentile 52.887%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- aws aws serverless application model command line interface: ≥ 1.9.0, \< 1.134.0
- PyPI aws-sam-cli (PyPI): \< 1.134.0

## References

- <https://aws.amazon.com/security/security-bulletins/AWS-2025-008/>
- <https://github.com/aws/aws-sam-cli/security/advisories/GHSA-pp64-wj43-xqcr>
- <https://github.com/aws/aws-sam-cli/releases/tag/v1.134.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-3048>
- <https://github.com/aws/aws-sam-cli/pull/7890>
- <https://aws.amazon.com/security/security-bulletins/AWS-2025-008>
- <https://github.com/aws/aws-sam-cli>
- <https://pypi.org/project/aws-sam-cli>
- <https://github.com/advisories/GHSA-pp64-wj43-xqcr>

---

Data as of 2026-12-05T10:32:40.560Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
