Skip to content

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

MediumCVSS 6.8 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Cloud Platforms

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
AWS cost-analysis-mcp-server <= 1.0.5 after 1.0.5 Fixed
aws-pricing-mcp-server < 1.0.31 1.0.31 Fixed

Affected products

ProductAffected versionsFixed in
aws-pricing-mcp-server < 1.0.31 1.0.31
AWS cost-analysis-mcp-server <= 1.0.5 No fix listed

References