CVE-2026-136620: pain001-mcp 0.0.72 before 0.0.80 Arbitrary File Write via commit_payment_batch
pain001-mcp 0.0.72 before 0.0.80 contains a path traversal vulnerability in the commitpaymentbatch MCP tool that allows attackers to write files outside any output directory via outputfilepath. Attackers can stage a batch, reuse the self-issued confirmationtoken, and supply absolute, dot-dot, or symlinked paths to create or overwrite server-writable files with generated XML.
Affected Software
Event History
Frequently Asked Questions
Which deployments are affected?
Deployments using pain001-mcp version 0.0.72 through versions before 0.0.80 are affected. The impact is limited by the permissions of the server process: files can be created or overwritten where that process has write access.
What must an attacker do to exploit this issue?
An attacker must be able to stage a payment batch and reuse a self-issued confirmation_token with the commit_payment_batch MCP tool. They then provide an absolute path, dot-dot path traversal sequence, or symlinked path through output_file_path.
What is the available remediation?
Upgrade pain001-mcp to version 0.0.80 or later. This version is outside the affected range.