Symlink Vulnerability in AWS Serverless Application Model CLI Allowing File Access
CVE-2025-3047

6.9MEDIUM

Key Information:

Vendor

Aws

Vendor
CVE Published:
31 March 2025

Badges

👾 Exploit Exists🟡 Public PoC

What is CVE-2025-3047?

A security vulnerability exists in the AWS Serverless Application Model Command Line Interface (SAM CLI) when utilizing Docker for the build process that involves symbolic links. This flaw allows unauthorized users to exploit elevated permissions granted by the tool, granting them access to sensitive host files. By leveraging symlinks, an attacker can copy these restricted files to less secure locations within the container environment. Users are advised to upgrade to version 1.133.0 or later and ensure any derivative code is also patched to mitigate this security risk.

Affected Version(s)

AWS Serverless Application Model Command Line Interface 1.98.0 < 1.133.0

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

.