Skip to main content
VulnerabilityPublished Updated

CVE-2025-3047: 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.133.0 : update AWS Serverless Application Model Command Line Interface when convenient.

Data as of 26 Oct 2026, 14:05 UTC

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

AI-suggested

European organizations should immediately upgrade all instances of AWS SAM CLI to version 1.133.0 or newer to incorporate the official fix. Review and patch any forked or derivative versions of the SAM CLI to ensure the vulnerability is addressed. Audit build pipelines to identify and remove unnecessary symlinks in build files or restrict their usage. Implement strict container runtime security policies to limit container permissions and prevent containers from accessing host filesystems beyond what is necessary. Employ runtime monitoring and anomaly detection to identify unusual file access patterns during builds. Restrict who can trigger build processes and enforce least privilege principles for users interacting with SAM CLI. Regularly scan development environments for outdated or vulnerable tools and integrate vulnerability management into the DevSecOps lifecycle. Finally, consider isolating build environments on dedicated hosts or virtual machines to reduce potential impact.

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…