Package vulnerability, severity medium
AWS Pricing MCP Server cost report path traversal and arbitrary file write (CVE-2026-126816)
Published
The cost report generation tool in AWS Pricing MCP Server before 1.0.31 lets an actor who can influence the MCP agent write controlled content outside the intended output directory via absolute paths or traversal sequences. The tool was also annotated as read-only, so MCP clients may auto-approve it without user confirmation. The deprecated cost-analysis-mcp-server package is also affected and will not be patched.
What's affected
- awslabs.aws-pricing-mcp-server (pypi)<1.0.31
- awslabs.cost-analysis-mcp-server (pypi)<=1.0.5
What to do
- Upgrade awslabs.aws-pricing-mcp-server to version 1.0.31 or later
- Migrate from the deprecated awslabs.cost-analysis-mcp-server to aws-pricing-mcp-server 1.0.31 or later, as no patch will be published for it
- Ensure any forked or derivative code incorporates the fix
- If unable to upgrade, remove generate_cost_report from MCP client auto-approve configuration and avoid passing untrusted content to the agent
Check whether you were affected
To check a machine, run this in Claude Code with the Pharon plugin, in the repository that uses it. The check is free and needs no account:
/pharon:check-incident aws-pricing-mcp-server-path-traversal-2026-11Don't wait for the next one to reach the news. Pharon tells the team that owns the affected repo within minutes. Free for 7 days, no card.
Get alerted for the next oneReferences
Notice aws-pricing-mcp-server-path-traversal-2026-11, signed with key feed-prod-2026-10 (Ed25519). The Pharon CLI verifies the signature before using a notice.