AWS fixes arbitrary file write vulnerability in Pricing MCP Server
Start here
AWS released a security advisory (GHSA-mqm3-w68j-75mw, CVE-2026-126816) disclosing a path traversal and arbitrary file write vulnerability in the cost report generation tool of AWS Pricing MCP Server versions before 1.0.31: an attacker able to influence content read by the MCP agent can cause the agent to write a cost report embedding attacker-controlled field values outside the intended output directory. The tool had previously been labeled read-only, and MCP clients configured to auto-approve read-only tools may execute it without user confirmation; exploitation requires the server to be installed locally and the agent to process attacker-influenced content, and the impact is limited to files writable by the server process, not AWS managed services. 1.0.31 fixes this: the output_file parameter is restricted to within a base directory (configurable via the AWS_PRICING_MCP_OUTPUT_DIR environment variable, defaulting to the server process's working directory), rejecting absolute paths, .. traversal segments and escaping symlinks, and the readOnlyHint annotation is changed to False. The deprecated awslabs.cost-analysis-mcp-server (1.0.5 and earlier versions) is also affected and no fix will be released; users need to migrate to awslabs.aws-pricing-mcp-server 1.0.31 or later; users unable to upgrade should remove generate_cost_report from the MCP client's auto-approval configuration and avoid passing untrusted content to the agent.
Generated by AI from reports · Updated 12 days ago
Progress timeline
- awslabs/mcpaws-pricing-mcp-server cost report generator has path traversal and arbitrary file write vulnerabilities
AWS released a security advisory (GHSA-mqm3-w68j-75mw, CVE-2026-126816) disclosing a path traversal and arbitrary file write vulnerability in the cost report generation tool of AWS Pricing MCP Server versions before 1.0.31: an attacker able to influence content read by the MCP agent could cause the agent to write a cost report embedding attacker-controlled field values outside the intended output directory. The tool had previously been labeled read-only, and MCP clients configured to auto-approve read-only tools may execute it without user confirmation; exploitation requires the server to be installed locally and the agent to process attacker-influenced content, and the impact is limited to files writable by the server process, not involving AWS managed services. 1.0.31 has fixed it: the output_file parameter is restricted to within a base directory (configurable via the AWS_PRICING_MCP_OUTPUT_DIR environment variable, defaulting to the server process's working directory), rejecting absolute paths, .. traversal segments and escaping symlinks, and the readOnlyHint annotation was changed to False.
- Date not givenAWS SecuritySelectedCVE-2026-126816: AWS Pricing MCP Server path traversal vulnerability can lead to arbitrary file write
AWS released a security advisory disclosing vulnerability CVE-2026-126816 in the cost report generation tool of its open-source MCP server AWS Pricing MCP Server. The server provides AI assistants with real-time AWS pricing information and cost analysis capabilities; versions before 1.0.31 are affected, and an attacker able to influence the MCP agent may, through absolute paths or directory traversal sequences in the report output path, write controlled content outside the intended output directory; the tool is labeled read-only, which may cause MCP clients to automatically approve calls without user confirmation. The deprecated awslabs.cost-analysis-mcp-server (1.0.5 and earlier versions) is also affected and will not receive a fixed version, and users need to migrate to awslabs.aws-pricing-mcp-server 1.0.31 or later. Users unable to upgrade should remove generate_cost_report from the MCP client's auto-approval configuration and avoid passing untrusted content to the agent.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@kamel_laimeneMCP AWS Pricing dans vos agents : passez en 1.0.31. Avant, un contenu piégé lu par l'agent pouvait lui faire écrire ou…(opens the original post in a new tab)
2 likes·Nov 18 06:44Collect
- X@swif_aiAWS Pricing MCP Server <1.0.31: a cost report tool marked read-only could write files outside its output dir via pat…(opens the original post in a new tab)
1 likes·Nov 18 06:44Collect
- X@aimatter_inAWS repairs a file write bug in its Pricing MCP server A tool that the software marked read-only could write files in…(opens the original post in a new tab)
2 likes·Nov 18 06:44Collect
- X@iamnrdasAWS Pricing MCP Server <1.0.31: path traversal in generate_cost_report (CVE-2026-126816, CVSS 5.5). Influenced AI ag…(opens the original post in a new tab)
Attention trend
New sources per day
- Nov 17: 5 new sources (1 outlets, 4 accounts)
- Nov 18: 1 new sources (1 outlets, 0 accounts)
- Nov 19: 0 new sources (0 outlets, 0 accounts)
- Nov 20: 0 new sources (0 outlets, 0 accounts)
- Nov 21: 0 new sources (0 outlets, 0 accounts)
- Nov 22: 0 new sources (0 outlets, 0 accounts)
- Nov 23: 0 new sources (0 outlets, 0 accounts)
- Nov 24: 0 new sources (0 outlets, 0 accounts)
- Nov 25: 0 new sources (0 outlets, 0 accounts)
- Nov 26: 0 new sources (0 outlets, 0 accounts)
- Nov 27: 0 new sources (0 outlets, 0 accounts)
- Nov 28: 0 new sources (0 outlets, 0 accounts)
- Nov 29: 0 new sources (0 outlets, 0 accounts)