Skip to main content
← All vulnerabilities
CVE-2025-3047PYSEC-2026-1207GHSA-PX37-JPQX-97Q9

Path Traversal in AWS SAM CLI allows file copy to build container

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.133.0
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

When running the AWS Serverless Application Model Command Line Interface (SAM CLI) build process with Docker and symlinks are included in the build files, the container environment allows a user to access privileged files on the host by leveraging the elevated permissions granted to the tool. A user could leverage the elevated permissions to access restricted files via symlinks and copy them to a more permissive location on the container. Users should upgrade to v1.133.0 or newer and ensure any forked or derivative code is patched to incorporate the new fixes.

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.98.0 · fixed in 1.133.0

  • aws-sam-cliPyPI

    fixed in 1.133.0

References 4

aws.amazon.com

GitHub · aws/aws-sam-cli

GitHub · murataydemir/AWS-SAM-CLI-Vulnerabilities