CVE-2025-3047: AWS SAM CLI · Path Traversal
Affects aws-sam-cliSource GCVE Database
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
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 31 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewaws-sam-clipkg:brew/aws-sam-cliOther threats | Affected
| Fixed in
|
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
- aws.amazon.com/security/security-bulletins/AWS-2025-008/ (opens in a new tab)
- github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3047.json (opens in a new tab)
- github.com/aws/aws-sam-cli/security/advisories/GHSA-px37-jpqx-97q9 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-3047 (opens in a new tab)
- github.com/aws/aws-sam-cli/releases/tag/v1.134.0 (opens in a new tab)