CVE-2026-126816

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

Medium published · updated

6.8
CVSS score out of 10 · NVD (ff89ba41-3aa1-4d27-914a-91399e9639e5)

Description

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
aws-pricing-mcp-server aws 0 → <1.0.311.0.31 CVE.org
cost-analysis-mcp-server aws ≤1.0.5— CVE.org

References