Skip to main content
VulnerabilityPublished Updated

CVE-2025-3047: AWS SAM CLI · Path Traversal

Affects aws-sam-cliSource GCVE Database

0
Authoritative record:CVE-2025-3047· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium : upgrade to 1.165.0 when convenient.

Data as of 26 Oct 2026, 18:58 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.165.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 31 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade aws-sam-cli to 1.165.0.

Affected software

ProductAffectedFixed in
Homebrewaws-sam-clipkg:brew/aws-sam-cliOther threatsAffected
  • <1.165.0
Fixed in
  • 1.165.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…