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

- Severity: Medium 6.8 (CVSS:4.0, scored by AMZN) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-11-16T20:05:54.357Z
- Modified: 2026-11-24T15:05:47.063Z
- Weaknesses: CWE-22, CWE-357
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- AWS aws-pricing-mcp-server: before 1.0.31
- AWS cost-analysis-mcp-server: up to 1.0.5

## Every score

- AMZN: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- AMZN: CVSS:4.0 6.8 Medium `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`

## 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

- CVE List: [CVE-2026-126816](https://www.cve.org/CVERecord?id=CVE-2026-126816), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2026-126816](https://nvd.nist.gov/vuln/detail/CVE-2026-126816), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-126816 · Whole record: https://cve.day/CVE-2026-126816.json · Rebuilt by cve.day 2026-11-25T22:59:50.921Z
