CVE-2026-126816 PUBLISHED

Path traversal and arbitrary file write in the cost report generator of aws-pricing-mcp-server

Assigner: AMZN
Reserved: 11.11.2026 Published: 16.11.2026 Updated: 16.11.2026

Improper limitation of a pathname to a restricted directory in the cost report generation tool in AWS Pricing MCP Server (aws-pricing-mcp-server) before 1.0.31 might allow an actor who can influence the MCP agent to write actor controlled content to arbitrary locations outside the intended output directory via absolute paths or directory traversal sequences in the report output path.

To remediate this issue, users should upgrade to version 1.0.31 or later. Users of the deprecated awslabs.cost-analysis-mcp-server package should migrate to awslabs.aws-pricing-mcp-server version 1.0.31 or later.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
CVSS Score: 6.8

Product Status

Vendor AWS
Product aws-pricing-mcp-server
Versions Default: unaffected
  • affected from 0 to 1.0.31 (excl.)
Vendor AWS
Product cost-analysis-mcp-server
Versions Default: unaffected
  • affected from 0 to 1.0.5 (incl.)

Credits

  • Ryan von Brubeck finder

References

Problem Types

  • CWE-22 Improper limitation of a pathname to a restricted directory ('path traversal') CWE
  • CWE-357 Insufficient UI warning of dangerous operations CWE

Impacts

  • CAPEC-126 Path Traversal