CVE-2026-126816 - Path traversal and arbitrary file write in the cost report generator of aws-pricing-mcp-server
Bulletin ID: 2026-184-AWS
Scope: AWS
Content Type: Important (requires attention)
Publication Date: 11/16/2026 12:00 PM PST
Description:
AWS Pricing MCP Server is an open source Model Context Protocol (MCP) server that provides real-time AWS pricing information and cost analysis capabilities to AI assistants.
We identified CVE-2026-126816, an issue in the cost report generation tool of AWS Pricing MCP Server before version 1.0.31. An actor who can influence the MCP agent might be able to write actor controlled content to locations outside the intended output directory via absolute paths or directory traversal sequences in the report output path. The tool was also annotated as read-only, which can lead MCP clients to auto-approve it without user confirmation.
Impacted versions:
- awslabs.aws-pricing-mcp-server < 1.0.31
- awslabs.cost-analysis-mcp-server <= 1.0.5
Resolution:
This issue has been addressed in awslabs.aws-pricing-mcp-server version 1.0.31. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. Users of the deprecated awslabs.cost-analysis-mcp-server package should migrate to awslabs.aws-pricing-mcp-server version 1.0.31 or later, as no patched release of that package will be published.
Workarounds:
Users unable to upgrade should remove generate_cost_report from any auto-approve configuration in their MCP client, so that each invocation requires explicit confirmation and the output path can be checked before approving. Users should also avoid passing untrusted content to the agent.
References:
Acknowledgement:
We would like to thank Ryan von Brubeck for collaborating on this issue through the coordinated vulnerability disclosure process.
Please email aws-security@amazon.com with any s ecurity questions or concerns.