CVE-2026-126816
published medium CVSS 4.0 · 6.8Path traversal and arbitrary file write in the cost report generator of aws-pricing-mcp-server
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- AMZN · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | AMZN · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| AWS | aws-pricing-mcp-server | 0 to < 1.0.31 (affected · custom)Default: unaffected | AMZN · cna |
| AWS | cost-analysis-mcp-server | 0 through 1.0.5 (affected · custom)Default: unaffected | AMZN · cna |
Weaknesses
2- CWE-22 CWE-22 Improper limitation of a pathname to a restricted directory ('path traversal')
- CWE-357 CWE-357 Insufficient UI warning of dangerous operations
References
3Provider assertions
2AMZN · cna
Path traversal and arbitrary file write in the cost report generator of aws-pricing-mcp-server
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7bc0b8bd805d66fb1d24c60c4bc69875eea9cd2f23a8129a977f180dcc93bd5d
- Ingested
- 16 Nov 2026, 21:02:53 UTC
- Source record
- Official CVE record