Sooperset mcp-atlassian
MCP Atlassian is a Model Context Protocol (MCP): Arbitrary file read via missing path validation in confluence_upload_attachment
MCP Atlassian is a Model Context Protocol (MCP) server for Atlassian products (Confluence and Jira). Prior to 0.22.0, confluence_upload_attachment passes its client-supplied file_path directly to open(file_path, "rb") in src/mcp_atlassian/confluence/attachments.py through _upload_attachment_direct() without calling validate_safe_path. An authenticated MCP client can read any file accessible to the server process and exfiltrate it to Confluence as an attachment. If an AI agent can be induced to call the tool through untrusted content, the same flaw can disclose server environment variables such as CONFLUENCE_API_TOKEN and other credentials. This issue is fixed in version 0.22.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.22.0
Fixed in 0.22.0
Mitigation
Upgrade mcp-atlassian to 0.22.0 or later.
References
- Vendor advisory github.com/sooperset/mcp-atlassian/security/ad…
- Patch github.com/sooperset/mcp-atlassian/pull/1448
- Patch github.com/sooperset/mcp-atlassian/commit/b041…
1 more
- Release notes github.com/sooperset/mcp-atlassian/releases/ta…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.