CVE-2026-77253

highPriorität · verfolgen · 0EPSS 0.004 · 38. PerzentilUS
grimoire priorityP2 · Scheduled
Exploitable?
—
no known exploitation
Likely / severe?
0.44% (38th) EPSS
CVSS 7.1 · high
Is it mine?
2 products
Prüfe deine Angriffsfläche
Who says so?
2 sources
osv · nvd

EPSS · bewertet 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 attachment upload tools accept arbitrary local filesystem paths and send the selected bytes to Atlassian. In HTTP or multi-user deployments, a caller can cross the client-to-server filesystem boundary and disclose configuration, credentials, mounted secrets, or other files readable by the MCP process. The advisory traces the vulnerable input and processing flow through jira_upload_attachment, confluence_upload_attachment, file_path, and server-local filesystem, which identify the affected entry points, controls, and code paths. This issue is fixed in version 0.22.0.

01

cvss

Technischer Schweregrad, 0–10. Eine Zeile je Quelle.

7.1
010

Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen⚠ Quellen uneinig · medium–high · 6.5–7.1

v3.17.1highCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:Nsecondary · security-advisories@github.comAusnutzbarkeit 2.8 · Auswirkung 4.2
v3.17.1highCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:Nsecondary · OSV
v3.16.5mediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N/E:Usecondary · CVSS-BT (t0sche)
02

SSVC

Eine Handlungsentscheidung — aus Ausnutzung und Auswirkung.

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

schwächen

Die CWE-Schwächeklassen, zu denen dies gehört.

04

betroffene Produkte (2)

Betroffene Produkte und Versionsbereiche.

05

Advisories (2)

Hersteller- und Ökosystem-Meldungen dazu.

  • GHSA-vc25-24vv-fxxmMCP Atlassian: Jira and Confluence attachment upload tools can read arbitrary server-local files2026-09-22ghsa · osvUS

    ### 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.

  • PYSEC-2026-4101MCP Atlassian: Jira and Confluence attachment upload tools can read arbitrary server-local files2026-10-01vendor · osvUS

    ### 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.

06

auch bekannt als (2)

Weitere Namen und Kennungen dieser Entität.

07

quellen

Welche Quellen diesen Datensatz belegen und wann.

veröffentlicht 2026-09-22geändert 2026-09-28
09

Referenzen (4) nvd

Externe Belege — Patches, Meldungen, Analysen.

scry

Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.

Kostenloser Scan