What happened
CVE-2026-136620 (published 2026-11-25, CVSS 7.1) is a path traversal in the pain001-mcp MCP server that lets a caller write files outside the configured output directory via output_file_path.
Why it matters
It is another example of an MCP payment-tool surface failing to confine file output, allowing an LLM agent or its caller to place files on the host and, depending on placement, escalate to code execution.
Attack vector
The commit_payment_batch MCP tool accepts an output_file_path not confined to the output directory; an attacker can supply an absolute or dot-dot path and reuse a self-issued confirmation_token to write files outside the intended directory.
Affected systems
pain001-mcp 0.0.72 before 0.0.80 (commit_payment_batch tool)
Mitigation
Upgrade pain001-mcp to 0.0.80 or later.