CWE
22 497
Advisory Published
Updated

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

First published: Mon Mar 31 2025(Updated: )

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.

Credit: ff89ba41-3aa1-4d27-914a-91399e9639e5

Affected SoftwareAffected VersionHow to fix
AWS Serverless Application Model CLI<1.134.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-3048?

    CVE-2025-3048 is classified as a medium severity vulnerability.

  • What software versions are affected by CVE-2025-3048?

    CVE-2025-3048 affects versions of AWS Serverless Application Model Command Line Interface up to but not including 1.134.0.

  • How do I fix CVE-2025-3048?

    To fix CVE-2025-3048, upgrade your AWS Serverless Application Model Command Line Interface to version 1.134.0 or later.

  • What type of vulnerability is CVE-2025-3048?

    CVE-2025-3048 is a vulnerability related to improper handling of symlinks in the AWS Serverless Application Model Command Line Interface.

  • Can CVE-2025-3048 expose sensitive data?

    Yes, CVE-2025-3048 can lead to unauthorized access to sensitive data due to improper caching of symlink contents.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203