Skip to main content
← All vulnerabilities
CVE-2025-3048PYSEC-2026-1206GHSA-PP64-WJ43-XQCR

Path Traversal in AWS SAM CLI allows file copy to local cache

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.134.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • AWS AWS Serverless Application Model Command Line Interface

    From 1.9.0 · fixed in 1.134.0

  • aws-sam-cliPyPI

    fixed in 1.134.0

References 3

aws.amazon.com

GitHub · aws/aws-sam-cli