CVE-2026-126816
6.8medium
Path traversal and arbitrary file write in the cost report generator of aws-pricing-mcp-server
- Severity
- 6.8medium CVSS:4.0 by AMZN
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- AMZN
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
| Product or package | Versions | Reported by |
|---|---|---|
| AWS aws-pricing-mcp-server | before 1.0.31 | CVE List |
| AWS cost-analysis-mcp-server | up to 1.0.5 | CVE List |
All scores
| AMZN | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| AMZN | 6.8medium CVSS:4.0 | 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 |
Classification
References
| https://pypi.org/project/awslabs.aws-pricing-mcp-server/1.0.31/ | patch, release-notes | |
| https://github.com/awslabs/mcp/security/advisories/GHSA-mqm3-w68j-75mw | third-party-advisory | |
| https://aws.amazon.com/security/security-bulletins/2026-184-aws/ | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-126816 changed 2026-11-16 | CVE Terms of Use |
| NVD | CVE-2026-126816 changed 2026-11-24 | Public domain |