AWS Pricing MCP Server arbitrary file write in cost report output paths
aws-pricing-mcp-server · AWS cost-analysis-mcp-server
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| AWS aws-pricing-mcp-server |
| No fix yet |
| AWS cost-analysis-mcp-server |
| No fix yet |
Original description
Improper limitation of a pathname to a restricted directory in the cost report generation tool in AWS Pricing MCP Server (aws-pricing-mcp-server) before 1.0.31 might allow an actor who can influence the MCP agent to write actor controlled content to arbitrary locations outside the intended output directory via absolute paths or directory traversal sequences in the report output path.
To remediate this issue, users should upgrade to version 1.0.31 or later. Users of the deprecated awslabs.cost-analysis-mcp-server package should migrate to awslabs.aws-pricing-mcp-server version 1.0.31 or later.
From the CVE record · AMZN