CVE-2025-3047

MEDIUM

SAM CLI <v1.133.0 - Privilege Escalation

Title source: llm

Description

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.

Exploits (1)

nomisec WRITEUP
by murataydemir · poc
https://github.com/murataydemir/AWS-SAM-CLI-Vulnerabilities

Scores

CVSS v3 6.5
EPSS 0.0011
EPSS Percentile 29.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Details

CWE
CWE-61
Status published
Products (2)
AWS/AWS Serverless Application Model Command Line Interface 1.98.0 - 1.133.0
pypi/aws-sam-cli 0 - 1.133.0PyPI
Published Mar 31, 2025
Tracked Since Feb 18, 2026