Original description
pain001-mcp 0.0.72 before 0.0.80 contains a path traversal vulnerability in the commit_payment_batch MCP tool that allows attackers to write files outside any output directory via output_file_path. Attackers can stage a batch, reuse the self-issued confirmation_token, and supply absolute, dot-dot, or symlinked paths to create or overwrite server-writable files with generated XML.
Affected products and versions
sebastienrousseau pain001-mcp0.0.72 – < 0.0.80Fixed in: 0.0.80
CVSS vector, explained
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Required
- Scope
- Vulnerable component only
- Confidentiality
- None
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-73 External Control of File Name or Path
References
- github.com/sebastienrousseau/pain001-mcp/security/advisories/GHSA-hqw7-q8v2-pq3m vendor advisory
- github.com/sebastienrousseau/pain001-mcp/commit/1c6291907c96329eef29fb6517535a304a302096 patch
- github.com/sebastienrousseau/pain001-mcp/releases/tag/v0.0.80
- github.com/sebastienrousseau/pain001-mcp/blob/v0.0.79/pain001_mcp/server.py#L2361-L2370
- www.vulncheck.com/advisories/pain001-mcp-0.0.72-before-0.0.80-arbitrary-file-write-via-com
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Summaries are AI-written under strict rules; always check the vendor's official advisory.