The cost report generation tool contains an improper limitation of a pathname to a restricted directory. An actor capable of influencing the MCP agent can write controlled content to arbitrary locations outside the intended output directory by using absolute paths or directory traversal sequences in the report output path.