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.