Path Traversal in AWS SAM CLI allows file copy to local cache
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-61 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| AWS | AWS Serverless Application Model Command Line Interface | 1.9.0 to before 1.134.0 | 1.134.0 | Patch available | CNA |
| — | aws-sam-cli (PyPI) | before 1.134.0 | 1.134.0 | Patch available | GHSA-pp64-wj43-xqcr |
- AWS Serverless Application Model Command Line Interface VendorAWS Affected 1.9.0 to before 1.134.0 Fixed in 1.134.0 Patch available CNA
- aws-sam-cli (PyPI) Vendor— Affected before 1.134.0 Fixed in 1.134.0 Patch available GHSA-pp64-wj43-xqcr
Remediation
- Fix · CNA AWS Serverless Application Model Command Line Interface (AWS) Fixed in 1.134.0
- Fix · GHSA-pp64-wj43-xqcr aws-sam-cli (PyPI) Fixed in 1.134.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
AWS Serverless Application Model Command Line Interface — aws.amazon.com/security/security-bulletins/AWS-2025-008
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2025-02660 Path Traversal in AWS SAM CLI allows file copy to build containerPriority LOW 32
Timeline
- 2026-10-02 Threatist record created from CVE-2025-3048
- 2026-10-03 Alias added: GHSA-pp64-wj43-xqcr
- 2026-10-09 EPSS moved to the 50th–90th percentile
References
Advisory 3
More AWS vulnerabilities
- TI-2026-23989 crypto: algif_aead - Revert to operating out-of-place KEVCVSS 3.1HIGH 7.8
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2024-18648 Amazon AWS Amplify CLI before 12.10.1 incorrectly configures the role trust policy of IAM… CVSS 3.1CRITICAL 9.8
- TI-2024-05929 Openssh: regresshion - race condition in ssh allows rce/dos CVSS 3.1HIGH 8.1
- TI-2025-03847 Input validation issue in AWS Amplify Studio UI component properties CVSS 4.0CRITICAL 9.0
- TI-2026-11603 HTTP/2 Stream Parser Confusion Body-Inspection Bypass in Amazon CloudFront with AWS WAF CVSS 4.0HIGH 7.9
Sources
- CVE-2025-3048 · CVE Program
- CVE-2025-3048 · NVD
- FIRST EPSS
- GHSA-pp64-wj43-xqcr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences