pain001-mcp Path Traversal Flaw Allows Arbitrary File Write

A medium-severity vulnerability in the pain001-mcp Python package allows attackers to write files outside designated directories via a path traversal flaw in the commit_payment_batch tool. The issue affects versions 0.0.72 through 0.0.79 and is fixed in version 0.0.80.
Key points
- The vulnerability, identified as CVE-2026-136620, exists in the pain001-mcp package versions 0.0.72 to 0.0.79.
- Attackers can exploit the commit_payment_batch tool to write files using absolute, dot-dot, or symlinked paths.
- The flaw allows the creation or overwriting of server-writable files with generated XML content.
- A patch is available in version 0.0.80, which resolves the path traversal issue.
- The vulnerability is classified as CWE-73, involving external control of file names or paths.
Background
Recent security advisories have highlighted multiple path traversal and file manipulation vulnerabilities in various software components. For instance, FFmpeg 8.0 through 9.0 faced a flaw allowing arbitrary file truncation via the WHIP muxer, while the Debian bug tracker had an issue allowing arbitrary file reads through unsanitized inputs. These incidents underscore the ongoing risk of improper input validation in file handling operations across different platforms.
Why it matters
This vulnerability poses a risk to systems using the pain001-mcp package, as it could allow unauthorized file modification or creation, potentially leading to data integrity issues or service disruption. Users should upgrade to version 0.0.80 to mitigate this risk.
What to watch
Developers and users of pain001-mcp should update to version 0.0.80 or later to ensure the path traversal vulnerability is patched. Monitoring for any unusual file activity on affected systems is recommended.
Want the full story? Read the original reporting
Read on CVEs | Zero Wire | Cloudflare Radar