CVE-2025-3048: 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
After completing a build with AWS Serverless Application Model Command Line Interface (SAM CLI) which include symlinks, the content of those symlinks are copied to the cache of the local workspace as regular files or directories. As a result, a user who does not have access to those symlinks outside of the Docker container would now have access via the local workspace. Users should upgrade to version 1.134.0 and ensure any forked or derivative code is patched to incorporate the new fixes. After upgrading, users must re-build their applications using the sam build --use-container to update the symlinks.
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-3048.json (opens in a new tab)
- github.com/aws/aws-sam-cli/security/advisories/GHSA-pp64-wj43-xqcr (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-3048 (opens in a new tab)
- github.com/aws/aws-sam-cli/releases/tag/v1.134.0 (opens in a new tab)