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

Source: https://junglewise.ai/threats/cve-2025-3048-aws-sam-cli-path-traversal-allows-file-copy-to-local-cache  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2025-3048 · Severity: low · CVSS 3.1 · Published 2026-07-07

AWS SAM CLI Path Traversal allows file copy to local cache

Technologies: [aws-sam-cli (PyPI)](https://junglewise.ai/threats/technologies/aws-sam-cli). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-3048 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-3048 being exploited in the wild.

**How severe is CVE-2025-3048?** Low severity, with a CVSS score of 3.1, published 7 July 2026.

**Which products and versions are affected?** aws-sam-cli (PyPI) ECOSYSTEM:introduced=0,fixed=1.134.0.

**Is there a fix for CVE-2025-3048?** Yes. aws-sam-cli (PyPI): upgrade to 1.134.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-3048?** Check whether you run aws-sam-cli (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- aws-sam-cli (PyPI): upgrade to 1.134.0 or later

  ```sh
  pip install "aws-sam-cli>=1.134.0"
  ```


## Affected products

- aws-sam-cli (PyPI) ECOSYSTEM:introduced=0,fixed=1.134.0

## Identifiers

- CVE-2025-3048
- GHSA-pp64-wj43-xqcr
- PYSEC-2026-1206

## Related threats

- [PYSEC-2026-1207 - AWS SAM CLI Path Traversal allows file copy to build container](https://junglewise.ai/threats/cve-2025-3047-aws-sam-cli-path-traversal-allows-file-copy-to-build-container)
- [Sensitive Information Exposure Through Insecure Logging For Secrets Like Metadata.DockerBuildArgs](https://junglewise.ai/threats/sensitive-information-exposure-through-insecure-logging-for-secrets-7c22e19d)
