Path traversal and arbitrary file write in the cost report generator of aws-pricing-mcp-server
- CVE-2026-126816
- EUVD-2026-126627
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.
Text from the CVE.org record.
Recommendation
AWS aws-pricing-mcp-server
- If you run a version before 1.0.31update to 1.0.31 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
AWS aws-pricing-mcp-server
Affected versions Fixed in before 1.0.31 1.0.31 AWS cost-analysis-mcp-server
Affected versions Fixed in up to 1.0.5 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.