Skip to main content
VulnerabilityPublished Updated

CVE-2025-3048: AWS Serverless Application Model Command Line Interface · UNIX Symbolic Link (Symlink) Following

Affects AWS Serverless Application Model Command Line InterfaceSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium · fixed in 1.134.0 : update AWS Serverless Application Model Command Line Interface when convenient.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.134.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

Affected software

ProductAffectedFixed in
AWS AWS Serverless Application Model Command Line InterfaceAffected
  • =1.9.0
Fixed in–

AI-suggested

European organizations should immediately upgrade AWS SAM CLI to version 1.134.0 or later to incorporate the fix for this vulnerability. After upgrading, all serverless applications must be rebuilt using the command 'sam build --use-container' to ensure symlinks are handled correctly and cached securely. Organizations should audit their local workspace caches and build environments for any sensitive data that may have been exposed due to this vulnerability, removing or securing any such files. Implement strict access controls on developer workstations and build environments to limit unauthorized access to cached files. Incorporate security scanning and code review practices to detect improper use of symlinks or inclusion of sensitive files in serverless projects. Educate developers about the risks of symlink handling and ensure build pipelines are updated to use the patched CLI version. Consider isolating build environments using containerization or ephemeral build agents to reduce persistent local caching of sensitive data. Monitor for any unusual access patterns or insider threat indicators related to build environments. Finally, maintain awareness of AWS security advisories for any further updates or related vulnerabilities.

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

Community reviews

Loading reviews…