Description
Improper limitation of a pathname to a restricted directory in the deployment status component of the AWS Serverless MCP Server (aws-serverless-mcp-server) before v0.2.1 might allow an actor who can influence the MCP agent to read the contents of JSON files outside the intended deployment status directory. Where write access has been enabled, to create or overwrite JSON files outside that directory. This issue is reachable through directory traversal sequences or an absolute path supplied in the project name input.
To remediate this issue, users should upgrade to version v0.2.1.
Weakness Classification (CWE)
References
Primary Sources
Always verify findings against the primary CVE record before acting. Both sources below are public-domain and authoritative.
Does this affect your version?
Use the CVE Detector to check if a specific product version is impacted by this vulnerability, along with 100+ other CVEs.