CVE-2026-126816
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.
How to fix
- AWS aws-pricing-mcp-server1.0.31 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| AWS aws-pricing-mcp-server | v < 1.0.31 | 1.0.31 |
| AWS cost-analysis-mcp-server | v ≤ 1.0.5 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.