CVE-2026-77247

mediumpriority · track · 26EPSS 0.004 · 33 %ileUS
grimoire priorityP3 · Track
Exploitable?
—
no known exploitation
Likely / severe?
0.39% (33rd) EPSS
CVSS 6.5 · medium
Is it mine?
2 products
Check your exposure
Who says so?
2 sources
osv · nvd

EPSS · scored 2026-10-27

MCP Atlassian is a Model Context Protocol (MCP) server for Atlassian products (Confluence and Jira). Prior to 0.22.0, Jira and Confluence upload tools interpret caller-controlled path arguments on the MCP server and open those files before sending them as attachments. In remote or multi-user deployments, a permitted client can disclose host files without shell or direct filesystem access. The advisory traces the vulnerable input and processing flow through AttachmentsMixin.upload_attachment, AttachmentsMixin.upload_attachments, file_path, file_paths, and jira update_issue, which identify the affected entry points, controls, and code paths. This issue is fixed in version 0.22.0.

01

cvss

Technical severity, 0–10. One row per scoring source.

8.3
010

base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.7–8.3

v3.16.5mediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:Nprimary · NVD / NIST USexploitability 2.8 · impact 3.6
v4.08.3highCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Xsecondary · security-advisories@github.com
v4.05.7mediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Xsecondary · CVSS-BT (t0sche)
02

ssvc

A stakeholder decision — act, attend, or track — from exploitation and impact.

Exploitation: poc · Automatable: no · Technical Impact: partialcoordinatorcisa_ssvcUS
03

weaknesses

The CWE weakness classes this flaw belongs to.

04

affected products (2)

Products and version ranges known to be affected.

05

advisories (2)

Vendor and ecosystem advisories describing this.

  • GHSA-f6pj-qv47-g96wMCP Atlassian: Arbitrary server-local file upload to Jira/Confluence attachments via unrestricted file_path parameters2026-09-22ghsa · osvUS

    ## Summary 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. ## Details 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` - Accepts `file_path`. - Converts the supplied value to an absolute path when needed. - Checks existence with `os.path.exists`. - Passes the path into the attachment upload flow. - `mcp_atlassian.confluence.attachments.AttachmentsMixin._upload_attachment_direct` - Opens the supplied `file_path` with `open(file_path, "rb")`. - Sends the resulting file object as multipart form data to Confluence. - `mcp_atlassian.confluence.attachments.AttachmentsMixin.upload_attachments` - Iterates caller-supplied `file_paths`. - Calls `upload_attachment` for each path. - `mcp_atlassian.jira.attachments.AttachmentsMixin.upload_attachment` - Accepts `file_path`. - Converts the supplied value to an absolute path when needed. - Checks existence with `os.path.exists`. - Opens the file and uploads it as a Jira attachment. - `mcp_atlassian.jira.attachments.AttachmentsMixin.upload_attachments` - Iterates caller-supplied `file_paths`. - Calls `upload_attachment` for each path. - `mcp_atlassian.servers.jira.update_issue` - Accepts an `attachments` argument as a JSON array string or comma-separated string. - Converts it into attachment paths and passes them into the Jira update flow. The project also documents non-stdio deployment modes: - `sse` - `streamable-http` - multi-user authentication - Docker and Kubernetes deployment Therefore the upload path arguments should not be treated as if they always come from a single fully trusted local desktop user. In an HTTP or multi-user deployment, the caller and the server-local filesystem are separate security boundaries. The core issue is that the MCP caller can choose a path, while the MCP server reads that path using the server process privileges and sends the bytes to a remote Jira or Confluence attachment endpoint. Expected behavior: - Server-local file uploads should be denied by default in HTTP/SSE or multi-user deployments, or - Uploads should be constrained to an explicit allowlisted upload directory after realpath resolution, and - Dangerous path forms such as remote UNC paths and `file://` URLs should be rejected before filesystem checks. ## PoC The following proof of concept uses a benign temporary file generated at runtime. It does not rely on prompt injection or any AI/LLM behavior. It uses a normal MCP client call against a test Confluence page controlled by the tester. Prerequisites: - A test Confluence site. - A test page content ID where the tester is allowed to upload attachments. - A test Confluence API token or another supported authentication method. - Python 3.10 or newer. Start `mcp-atlassian` in HTTP mode: ```bash docker run --rm -p 9000:9000 \ -e CONFLUENCE_URL="https://<your-test-site>.atlassian.net/wiki" \ -e CONFLUENCE_USERNAME="<tester-email>" \ -e CONFLUENCE_API_TOKEN="<tester-api-token>" \ ghcr.io/sooperset/mcp-atlassian:latest \ --transport streamable-http --host 0.0.0.0 --port 9000 ``` Install the MCP Python client: ```bash python -m pip install "mcp>=1.8.0" ``` Run this standalone client script: ```python import asyncio import os import tempfile from pathlib import Path from mcp import ClientSession from mcp.client.streamable_http import streamablehttp_client async def main() -> None: mcp_url = os.environ.get("MCP_URL", "http://127.0.0.1:9000/mcp") content_id = os.environ["CONFLUENCE_CONTENT_ID"] proof_dir = Path(tempfile.mkdtemp(prefix="mcp-atlassian-proof-")) proof_file = proof_dir / "server-local-proof.txt" proof_file.write_text( "This benign file was read from the MCP server filesystem and uploaded by an MCP tool call.\n", encoding="utf-8", ) async with streamablehttp_client(mcp_url) as (read_stream, write_stream, _): async with ClientSession(read_stream, write_stream) as session: await session.initialize() result = await session.call_tool( "confluence_upload_attachments", { "content_id": content_id, "file_paths": str(proof_file), "comment": "Security test: benign server-local upload proof", "minor_edit": True, }, ) print(result) print(f"Uploaded test filename: {proof_file.name}") if __name__ == "__main__": asyncio.run(main()) ``` Run it with the test page ID: ```bash CONFLUENCE_CONTENT_ID="<test-page-content-id>" python poc.py ``` Observed result: 1. The MCP client sends a normal `confluence_upload_attachments` tool call. 2. The MCP server reads the temporary file from its own filesystem. 3. The MCP server uploads that file as an attachment to the configured Confluence page. 4. The uploaded attachment appears on the test page. Security significance: - The MCP caller did not need shell access to the server. - The MCP caller did not need direct filesystem access to the server. - The MCP caller only needed permission to invoke the upload tool. - The file read happened with the privileges of the MCP server process. The same class of issue applies to Jira attachment upload flows that accept caller-controlled file path parameters. ## Impact This is a server-local file disclosure and exfiltration primitive through attachment upload tools. Impacted users: - Users running `mcp-atlassian` with write/upload tools enabled. - Operators exposing `mcp-atlassian` through `sse` or `streamable-http`. - Multi-user deployments where MCP callers are not fully trusted with arbitrary read access to the MCP server filesystem. - Docker or Kubernetes deployments where the MCP process can read environment files, mounted secrets, service account tokens, application configuration, or shared volumes. Potential attacker: - A malicious or compromised MCP client with permission to invoke attachment upload tools. - A malicious user in a multi-user MCP deployment. - An attacker who can supply or influence MCP tool arguments through an integrated workflow. Potentially exposed data depends on the deployment, but can include files readable by the MCP server process, such as: - application configuration - deployment secrets - cloud or service credentials mounted into the runtime - CI/CD or automation tokens - other files available to the MCP server user This issue does not require prior compromise of the internal network in deployments where the MCP service is intentionally exposed over HTTP/SSE to multiple users or external MCP clients. The attacker only needs the ability to invoke the upload tool. The server then reads the chosen path with its own process privileges and uploads it to Jira or Confluence. If the intended security model is that every MCP caller is fully trusted with arbitrary read access to the server filesystem, that should be documented explicitly. Otherwise, server-local file path uploads should be opt-in and constrained to a configured upload root. Suggested fixes: - Default-deny server-local path uploads in HTTP/SSE and multi-user deployments. - Add an explicit opt-in flag for server-local upload paths. - Require an allowlisted upload root and enforce it after realpath resolution. - Reject `file://` URLs and remote UNC path forms before any filesystem operation. - Prefer client-provided file/resource blobs over server-local path strings for remote MCP deployments.

  • PYSEC-2026-4092MCP Atlassian: Arbitrary server-local file upload to Jira/Confluence attachments via unrestricted file_path parameters2026-10-01vendor · osvUS

    ## Summary 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. ## Details 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` - Accepts `file_path`. - Converts the supplied value to an absolute path when needed. - Checks existence with `os.path.exists`. - Passes the path into the attachment upload flow. - `mcp_atlassian.confluence.attachments.AttachmentsMixin._upload_attachment_direct` - Opens the supplied `file_path` with `open(file_path, "rb")`. - Sends the resulting file object as multipart form data to Confluence. - `mcp_atlassian.confluence.attachments.AttachmentsMixin.upload_attachments` - Iterates caller-supplied `file_paths`. - Calls `upload_attachment` for each path. - `mcp_atlassian.jira.attachments.AttachmentsMixin.upload_attachment` - Accepts `file_path`. - Converts the supplied value to an absolute path when needed. - Checks existence with `os.path.exists`. - Opens the file and uploads it as a Jira attachment. - `mcp_atlassian.jira.attachments.AttachmentsMixin.upload_attachments` - Iterates caller-supplied `file_paths`. - Calls `upload_attachment` for each path. - `mcp_atlassian.servers.jira.update_issue` - Accepts an `attachments` argument as a JSON array string or comma-separated string. - Converts it into attachment paths and passes them into the Jira update flow. The project also documents non-stdio deployment modes: - `sse` - `streamable-http` - multi-user authentication - Docker and Kubernetes deployment Therefore the upload path arguments should not be treated as if they always come from a single fully trusted local desktop user. In an HTTP or multi-user deployment, the caller and the server-local filesystem are separate security boundaries. The core issue is that the MCP caller can choose a path, while the MCP server reads that path using the server process privileges and sends the bytes to a remote Jira or Confluence attachment endpoint. Expected behavior: - Server-local file uploads should be denied by default in HTTP/SSE or multi-user deployments, or - Uploads should be constrained to an explicit allowlisted upload directory after realpath resolution, and - Dangerous path forms such as remote UNC paths and `file://` URLs should be rejected before filesystem checks. ## PoC The following proof of concept uses a benign temporary file generated at runtime. It does not rely on prompt injection or any AI/LLM behavior. It uses a normal MCP client call against a test Confluence page controlled by the tester. Prerequisites: - A test Confluence site. - A test page content ID where the tester is allowed to upload attachments. - A test Confluence API token or another supported authentication method. - Python 3.10 or newer. Start `mcp-atlassian` in HTTP mode: ```bash docker run --rm -p 9000:9000 \ -e CONFLUENCE_URL="https://<your-test-site>.atlassian.net/wiki" \ -e CONFLUENCE_USERNAME="<tester-email>" \ -e CONFLUENCE_API_TOKEN="<tester-api-token>" \ ghcr.io/sooperset/mcp-atlassian:latest \ --transport streamable-http --host 0.0.0.0 --port 9000 ``` Install the MCP Python client: ```bash python -m pip install "mcp>=1.8.0" ``` Run this standalone client script: ```python import asyncio import os import tempfile from pathlib import Path from mcp import ClientSession from mcp.client.streamable_http import streamablehttp_client async def main() -> None: mcp_url = os.environ.get("MCP_URL", "http://127.0.0.1:9000/mcp") content_id = os.environ["CONFLUENCE_CONTENT_ID"] proof_dir = Path(tempfile.mkdtemp(prefix="mcp-atlassian-proof-")) proof_file = proof_dir / "server-local-proof.txt" proof_file.write_text( "This benign file was read from the MCP server filesystem and uploaded by an MCP tool call.\n", encoding="utf-8", ) async with streamablehttp_client(mcp_url) as (read_stream, write_stream, _): async with ClientSession(read_stream, write_stream) as session: await session.initialize() result = await session.call_tool( "confluence_upload_attachments", { "content_id": content_id, "file_paths": str(proof_file), "comment": "Security test: benign server-local upload proof", "minor_edit": True, }, ) print(result) print(f"Uploaded test filename: {proof_file.name}") if __name__ == "__main__": asyncio.run(main()) ``` Run it with the test page ID: ```bash CONFLUENCE_CONTENT_ID="<test-page-content-id>" python poc.py ``` Observed result: 1. The MCP client sends a normal `confluence_upload_attachments` tool call. 2. The MCP server reads the temporary file from its own filesystem. 3. The MCP server uploads that file as an attachment to the configured Confluence page. 4. The uploaded attachment appears on the test page. Security significance: - The MCP caller did not need shell access to the server. - The MCP caller did not need direct filesystem access to the server. - The MCP caller only needed permission to invoke the upload tool. - The file read happened with the privileges of the MCP server process. The same class of issue applies to Jira attachment upload flows that accept caller-controlled file path parameters. ## Impact This is a server-local file disclosure and exfiltration primitive through attachment upload tools. Impacted users: - Users running `mcp-atlassian` with write/upload tools enabled. - Operators exposing `mcp-atlassian` through `sse` or `streamable-http`. - Multi-user deployments where MCP callers are not fully trusted with arbitrary read access to the MCP server filesystem. - Docker or Kubernetes deployments where the MCP process can read environment files, mounted secrets, service account tokens, application configuration, or shared volumes. Potential attacker: - A malicious or compromised MCP client with permission to invoke attachment upload tools. - A malicious user in a multi-user MCP deployment. - An attacker who can supply or influence MCP tool arguments through an integrated workflow. Potentially exposed data depends on the deployment, but can include files readable by the MCP server process, such as: - application configuration - deployment secrets - cloud or service credentials mounted into the runtime - CI/CD or automation tokens - other files available to the MCP server user This issue does not require prior compromise of the internal network in deployments where the MCP service is intentionally exposed over HTTP/SSE to multiple users or external MCP clients. The attacker only needs the ability to invoke the upload tool. The server then reads the chosen path with its own process privileges and uploads it to Jira or Confluence. If the intended security model is that every MCP caller is fully trusted with arbitrary read access to the server filesystem, that should be documented explicitly. Otherwise, server-local file path uploads should be opt-in and constrained to a configured upload root. Suggested fixes: - Default-deny server-local path uploads in HTTP/SSE and multi-user deployments. - Add an explicit opt-in flag for server-local upload paths. - Require an allowlisted upload root and enforce it after realpath resolution. - Reject `file://` URLs and remote UNC path forms before any filesystem operation. - Prefer client-provided file/resource blobs over server-local path strings for remote MCP deployments.

06

also known as (2)

Other names and identifiers for this entity.

07

sources

Which sources assert this record, and when.

published 2026-09-22modified 2026-09-28
09

references (4) nvd

External citations — patches, advisories, analysis.

scry

Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.

Free scan