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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-16 · Modified: 2026-11-16
- Record: https://cvemate.com/vulnerability/CVE-2026-126816 · JSON: https://cvemate.com/vulnerability/CVE-2026-126816/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v4.0, CVE.org) 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
- EPSS: 0.292%, percentile 23.421%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- aws aws-pricing-mcp-server: \< 1.0.31
- aws cost-analysis-mcp-server: ≤ 1.0.5

## References

- <https://pypi.org/project/awslabs.aws-pricing-mcp-server/1.0.31/>
- <https://github.com/awslabs/mcp/security/advisories/GHSA-mqm3-w68j-75mw>
- <https://aws.amazon.com/security/security-bulletins/2026-184-aws/>

---

Data as of 2026-12-05T09:02:35.604Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
