GHSA-mqm3-w68j-75mw · AI agents & MCP
NO FIX YET · SEE WHAT TO DO
The cost report generator in the AWS Pricing MCP Server does not restrict the report output path, so an actor who can influence the MCP agent can write attacker-controlled content to arbitrary locations via absolute paths or directory traversal. The tool is annotated read-only, so MCP clients may auto-approve it without user confirmation.
first public Nov 16, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Teams that run the AWS Pricing MCP Server or the deprecated cost-analysis MCP server with an AI assistant that can call the cost report tool. Exposure depends on the agent being able to be influenced by untrusted content and on the tool being auto-approved. Teams on 1.0.31 or later of the pricing server, or with no cost-analysis server installed, can skip it.
Not affected if auto-approve-disabled, no-cost-report-tool-use, version-1.0.31-or-later
Who cares aws, claude-code, lab-disclosure, mcp, python
awslabs.aws-pricing-mcp-server; versions below 1.0.31 are affected.awslabs.cost-analysis-mcp-server is installed at 1.0.5 or lower.generate_cost_report in any auto-approve list.awslabs.aws-pricing-mcp-server: upgrade to or later.CVE-2026-126816 Bulletin for AWS Pricing MCP Server - AWS
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:
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:
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
1.0.31awslabs.cost-analysis-mcp-server: no patched release will be published; migrate to awslabs.aws-pricing-mcp-server 1.0.31 or later.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.