6.9

CVE-2025-3047: Path Traversal in AWS SAM CLI allows file copy to build container

Deferred
AliasesGHSA-px37-jpqx-97q9PYSEC-2026-1207
Published 31-03-2025Last modified 14-10-2025

Vulnerability summary

CVE-2025-3047 is a medium (CVSS 6.9) UNIX Symbolic Link (Symlink) Following vulnerability in aws aws serverless application model command line interface. EPSS estimates a 0.78% chance of exploitation in the next 30 days, higher than 57.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.78%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 31-03-2025
    PublishedVulnerability first disclosed.
  2. 14-10-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 3 sources · 2 versions

EPSS trend

Probability

0.78%

Chance of exploitation in the next 30 days

Percentile

57%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.78% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Aws1 product
PyPI1 product
  • aws-sam-cli< 1.133.0

2 vendors · 2 products

References

9 links