CVE-2026-126816

Path traversal and arbitrary file write in the cost report generator of aws-pricing-mcp-server

Published Nov 16, 2026 CVSS 4.0 · 6.8 Medium EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is an improper limitation of a pathname to a restricted directory, allowing an actor who can influence the MCP agent to write actor‑controlled content to arbitrary locations outside the intended output directory. This results in path traversal and arbitrary file write capabilities, potentially enabling modification of sensitive configuration files or injection of malicious content. The weakness is classified as CWE‑22 and CWE‑357. The impact includes data integrity loss and the possibility of further exploitation if the written files grant execution privileges.

Affected Systems

Affected products are AWS Pricing MCP Server (aws‑pricing‑mcp‑server) and the deprecated cost‑analysis‑mcp‑server package. Versions before 1.0.31 are vulnerable. Users should review installed package versions to ensure they are not using a pre‑1.0.31 release.

Risk and Exploitability

The CVSS score is 6.8, indicating a moderate severity. EPSS score is not available, so the current exploitation probability cannot be determined from public data. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an actor able to influence the MCP agent, suggesting an attacker already has some local or privileged access. The attack vector is inferred to be local or internal through the MCP agent’s configuration or output path handling.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade aws‑pricing‑mcp‑server to version 1.0.31 or later.
  • Migrate from awslabs.cost‑analysis‑mcp‑server to awslabs.aws‑pricing‑mcp‑server 1.0.31 or later.
  • Verify that all deployment and configuration scripts no longer use absolute or traversal paths for report output generation, and monitor logs for anomalous write attempts.

Generated by OpenCVE AI on November 16, 2026 at 21:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Path traversal and arbitrary file write in the cost report generator of aws-pricing-mcp-server
First Time appeared Aws
Aws aws-pricing-mcp-server
Aws cost-analysis-mcp-server
Weaknesses CWE-22
CWE-357
CPEs cpe:2.3:a:aws:aws-pricing-mcp-server:*:*:*:*:*:*:*:*
cpe:2.3:a:aws:cost-analysis-mcp-server:*:*:*:*:*:*:*:*
Vendors & Products Aws
Aws aws-pricing-mcp-server
Aws cost-analysis-mcp-server
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N'}

cvssV4_0

{'score': 6.8, 'vector': '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'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-357

    Insufficient UI Warning of Dangerous Operations

Sources

Status
PUBLISHED
Assigner
AMZN
Published
Updated
Nov 16, 2026, 9:01 PM
Reserved
Nov 11, 2026, 8:04 PM
Status
Received
Published
Nov 16, 2026, 8:19 PM
Modified
Nov 16, 2026, 9:17 PM