Vulnerability record · PyPI
PYSEC-2026-4092
Description
The Jira and Confluence attachment upload tools accept caller-controlled file path parameters and read those paths from the MCP server's local filesystem before uploading the file as an Atlassian attachment.
In local stdio deployments, this can expose files readable by the user's MCP process. In documented HTTP/SSE or streamable-http deployments, the impact is higher: any MCP client that is allowed to invoke write/upload tools can cause the server process to read a server-local file and upload it to Jira or Confluence.
This is not dependent on an AI prompt injection or model behavior. It can be triggered deterministically with a normal MCP tool call.
The vulnerable behavior exists because upload tool arguments are treated as server-local filesystem paths.
Relevant implementation points:
mcp_atlassian.confluence.attachments.AttachmentsMixin.upload_attachment
file_path.os.path.exists.mcp_atlassian.confluence.attachments.AttachmentsMixin._upload_attachment_direct
file_path with open(file_path, "rb").mcp_atlassian.confluence.attachments.AttachmentsMixin.upload_attachments
file_paths.upload_attachment for each path.mcp_atlassian.jira.attachments.AttachmentsMixin.upload_attachment
file_path.os.path.exists.mcp_atlassian.jira.attachments.AttachmentsMixin.upload_attachments
file_paths.upload_attachment for each path.mcp_atlassian.servers.jira.update_issue
attachments argument as a JSON…Manual fix · PyPI
pip install --upgrade "mcp-atlassian>=0.22.0"Sources