Skip to content
EventPast event

AWS fixes arbitrary file write vulnerability in Pricing MCP Server

2 reports2 reporting sourcesLatest report

Start here

AI overview

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

Nov 16
  1. awslabs/mcp
    aws-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 provided
  1. Date not given
    AWS SecuritySelected
    CVE-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

Total 4 items

Attention trend

New sources per day

6 in 13 days·most 5 (Nov 17)·today 0

  • 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)

Hourly attention

Current attention 38·Peak in the comparable period 38 (Nov 22 22:00)·Change over the comparable past 24 hours –

010203040Nov 2222:00Nov 2301:00Nov 2304:00Nov 2307:00