CVE-2026-126816
Path traversal and arbitrary file write in the cost report generator of aws-pricing-mcp-server
Mitigation
- Upgrade aws-pricing-mcp-server to 1.0.31 or later.
Who should check
- Anyone running aws-pricing-mcp-server < 1.0.31
- Anyone running AWS cost-analysis-mcp-server <= 1.0.5
Vulnerability facts
- Affected
- aws-pricing-mcp-server < 1.0.31; AWS cost-analysis-mcp-server <= 1.0.5
- Fixed in
- aws-pricing-mcp-server 1.0.31
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.8 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: Passive
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.35% chance of exploitation in 30 days (percentile 21, 2026-11-28)
- CWE
- CWE-22, CWE-357
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| aws-pricing-mcp-server | < 1.0.31 | — | cvelist |
| AWS cost-analysis-mcp-server | <= 1.0.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-126816. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-126816.md Affected: aws-pricing-mcp-server < 1.0.31; AWS cost-analysis-mcp-server <= 1.0.5 Fixed in: aws-pricing-mcp-server 1.0.31 Steps: 1. Search this machine and project for aws-pricing-mcp-server, AWS cost-analysis-mcp-server: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-126816 being exploited?
There is no confirmed exploitation: CVE-2026-126816 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-126816?
Medium: CVSS 6.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-126816?
aws-pricing-mcp-server < 1.0.31; AWS cost-analysis-mcp-server <= 1.0.5.
Is there a fix for CVE-2026-126816?
Yes. Fixed in aws-pricing-mcp-server 1.0.31. Upgrade aws-pricing-mcp-server to 1.0.31 or later.
How do I check if I'm affected by CVE-2026-126816?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More aws vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.2 | CVE-2026-134070 Improper input validation in the AWS Systems Manager Automation runbook AWSConfigRemediation-EnableSystemsManagerSessionManagerAuditLogsToS3 | AWS | EPSS 40% | |
| HIGH 8.5 | CVE-2026-134066 Query injection via schema-derived identifiers in Graph Explorer | AWS | EPSS 57% | |
| HIGH 7.7 | CVE-2026-134068 Stack-based buffer overflow in replication origin name parsing in AWS pgactive | AWS | EPSS 61% | |
| HIGH 8.2 | CVE-2026-134069 Use of a default cryptographic key in the instance registration of Amazon SSM Agent on AWS Windows Server AMIs | AWS | EPSS 12% | |
| HIGH 8.3 | CVE-2026-134056 Out-of-bounds write in padded block cipher decryption in AWS-LC | AWS | EPSS 62% |