Path traversal and arbitrary file write in the cost report generator of aws-pricing-mcp-server
- State
- Published
- Severity
- 6.8 Medium
- Published
- Nov 16, 2026
- Updated
- Nov 16, 2026
- Reserved
- Nov 11, 2026
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.
| Product | Versions |
|---|---|
| aws-pricing-mcp-server AWS | before 1.0.31 Affected |
| cost-analysis-mcp-server AWS | 1.0.5 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | AMZN | |
| 3.1 | 5.5 Medium | AMZN |
Weaknesses
References
- https://pypi.org/project/awslabs.aws-pricing-mcp-server/1.0.31/Release NotesPatch
- https://github.com/awslabs/mcp/security/advisories/GHSA-mqm3-w68j-75mwThird-Party Advisory
- https://aws.amazon.com/security/security-bulletins/2026-184-aws/Vendor Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.