Vulnerabilities in pkg:pypi/mcp-atlassian
PACKAGECVE-2026-77258 is a HIGH (CVSS 7.7) arbitrary file read/exfiltration 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 arbitrary file read/exfiltration via upload_attachment missing validate_safe_path(). Remediation is available by upgrading affected packages to version 0.22.0.
pkg:pypi/mcp-atlassian
Vulnerability advisories affecting package pkg:pypi/mcp-atlassian. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-93xw-j965-9mx3 | CVE-2026-77258 | HIGH | MCP Atlassian: Arbitrary file read/exfiltration via upload_attachment missing validate_safe_path() |
| GHSA-g5xv-mhgm-v5f6 | CVE-2026-77250 | MODERATE | MCP Atlassian: OAuth fallback token storage writes plaintext access and refresh tokens with group-readable permissions |
| GHSA-v9m3-wfh8-5646 | CVE-2026-77249 | MODERATE | MCP Atlassian: Incomplete fix for GHSA-7r34-79r5-rcc9: redirect-based SSRF via unhooked requests session in Jira user-permission lookup |
| GHSA-f6pj-qv47-g96w | CVE-2026-77247 | HIGH | MCP Atlassian: Arbitrary server-local file upload to Jira/Confluence attachments via unrestricted file_path parameters |
| GHSA-wrhw-j3f9-8vc6 | CVE-2026-77244 | CRITICAL | [mcp-atlassian] Authentication bypass in HTTP transport: AtlassianOpaqueTokenVerifier accepts any non-empty token |
| GHSA-hgcf-4mq8-5266 | CVE-2026-77274 | HIGH | MCP Atlassian: SSRF Protection Bypass |
| GHSA-6vmq-24h2-pj7j | CVE-2026-77271 | HIGH | MCP Atlassian: Incomplete path traversal fix allows intra-CWD module overwrite and RCE (bypass of GHSA-xjgw-4wvw-rgm4) |
| GHSA-5wf4-jqxh-8gm3 | CVE-2026-77267 | HIGH | mcp-atlassian has an incomplete SSRF remediation |
| GHSA-g2r2-3j32-j27x | CVE-2026-77272 | MODERATE | MCP Atlassian: Reflected XSS in OAuth Setup Callback Handler |
| GHSA-p6hp-93wp-fh6p | CVE-2026-77262 | HIGH | MCP Atlassian: Path Traversal / Arbitrary File Read in confluence_upload_attachment MCP tool (incomplete fix of GHSA-xjgw-4wvw-rgm4) |
| GHSA-4596-2p6p-28cv | CVE-2026-77268 | MODERATE | MCP Atlassian: Insecure File Permissions on OAuth Token Storage |
| GHSA-6cr4-ccf3-x7h4 | CVE-2026-77259 | HIGH | MCP Atlassian: Arbitrary file read via confluence_upload_attachment allows exfiltration of server credentials |
| GHSA-6529-c226-h328 | CVE-2026-77261 | HIGH | MCP Atlassian: SSRF redirect protection missing for basic-auth and OAuth authentication branches |
| GHSA-f26r-j276-ggg4 | CVE-2026-77270 | MODERATE | MCP Atlassian: Arbitrary File Read via Upload Attachment Tools |
| GHSA-49xv-9743-pw8w | CVE-2026-77265 | MODERATE | MCP Atlassian: SSRF via DNS Rebinding in Header-Based Authentication Flow |
| GHSA-mfv2-4wvm-9pgp | CVE-2026-77266 | MODERATE | MCP Atlassian: Path traversal in upload_attachment allows arbitrary file read and exfiltration via MCP tool call |
| GHSA-h7wj-5v37-59r2 | CVE-2026-77269 | MODERATE | MCP Atlassian: Path traversal in upload_attachment allows arbitrary file read (incomplete fix for CVE-2026-27825) |
| GHSA-f4p7-qx46-wc5j | CVE-2026-77260 | HIGH | MCP Atlassian: Arbitrary local file READ via unconstrained file_path in upload_attachment (Confluence + Jira) |
| GHSA-mrq8-fv7v-hhjg | CVE-2026-77257 | HIGH | MCP Atlassian: HTTP upload tools accept arbitrary server-local file paths |
| GHSA-3r68-hf9h-887v | CVE-2026-77243 | HIGH | MCP Atlassian: ENABLED_TOOLS / Toolset authorization bypass |
| GHSA-2xj6-xx86-cwwc | CVE-2026-77255 | HIGH | MCP Atlassian: Arbitrary File Read & Exfiltration (Confused Deputy) in JIRA update_issue |
| GHSA-vc25-24vv-fxxm | CVE-2026-77253 | HIGH | MCP Atlassian: Jira and Confluence attachment upload tools can read arbitrary server-local files |
| GHSA-w66g-j6c4-hcfc | CVE-2026-77251 | HIGH | MCP Atlassian: JIRA_PROJECTS_FILTER / CONFLUENCE_SPACES_FILTER allow forbidden-project content exfiltration (one LIVE-proven on Atlassian Cloud) |
| GHSA-wv8v-v4c5-v75j | CVE-2026-77246 | HIGH | MCP Atlassian: MCP HTTP Client Server-Local File Exfiltration via Unvalidated Attachment Upload Path |
| GHSA-cc5h-2pwp-pvcc | CVE-2026-77248 | HIGH | MCP Atlassian: Unauthenticated arbitrary local file read via upload_attachment file_path, chained with missing auth on streamable-http transport |
| GHSA-g5r6-gv6m-f5jv | CVE-2026-73498 | HIGH | mcp-atlassian: Arbitrary file read via missing path validation in confluence_upload_attachment |
| GHSA-wm45-qh3g-v83f | - | HIGH | mcp-atlassian: Arbitrary server-side file read via attachment upload |
| GHSA-489g-7rxv-6c8q | - | MODERATE | MCP Atlassian: DNS-rebinding TOCTOU bypass of the SSRF fix (CVE-2026-27826) |
| GHSA-xjgw-4wvw-rgm4 | CVE-2026-27825 | CRITICAL | MCP Atlassian has an arbitrary file write leading to arbitrary code execution via unconstrained download_path in confluence_download_attachment |
| GHSA-7r34-79r5-rcc9 | CVE-2026-27826 | HIGH | MCP Atlassian has SSRF via unvalidated X-Atlassian-Jira-Url / X-Atlassian-Confluence-Url headers |
CVE-2026-77258 at a Glance
Security Impact
CVSS: 7.7
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:C/C:H/I:N/A:N).
How to Fix CVE-2026-77258
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.
pip install mcp-atlassian>=0.22.0
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-77258, 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
CVE-2026-77258 Affected MCP Atlassian Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mcp-atlassian
|
PyPI |
< 0.22.0
|
0.22.0
|
References
Frequently Asked Questions
What is CVE-2026-77258?
Which MCP Atlassian versions are affected?
What version fixes CVE-2026-77258?
Is mcp-atlassian affected?
What is the CVSS score of CVE-2026-77258?
What CWE is associated with CVE-2026-77258?
How can I check PyPI dependencies for CVE-2026-77258?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-93xw-j965-9mx3",
"modified" : "2026-09-22T20:36:37Z",
"published" : "2026-09-22T20:36:37Z",
"aliases" : [ "CVE-2026-77258" ],
"summary" : "MCP Atlassian: Arbitrary file read/exfiltration via upload_attachment missing validate_safe_path()",
"details" : "## Summary\n\nThe `upload_attachment` method in `confluence/attachments.py` reads and uploads arbitrary local files to Confluence without calling `validate_safe_path()`. Both download methods (`download_attachment` at line 223, `download_content_attachments` at line 272) correctly call `validate_safe_path()` before writing files, but the upload path at lines 35-79 skips this check entirely.\n\nAn AI agent connected via MCP (or an attacker influencing that agent through prompt injection) can read any file on the host and exfiltrate it by uploading it as a Confluence page attachment.\n\n## Vulnerable Code\n\nFile: `src/mcp_atlassian/confluence/attachments.py`, lines 62-79\n\n```python\n# No validate_safe_path() call anywhere in this method\nif not os.path.isabs(file_path):\n file_path = os.path.abspath(file_path)\n\nif not os.path.exists(file_path):\n return {\"success\": False, \"error\": f\"File not found: {file_path}\"}\n\nfilename = os.path.basename(file_path)\nattachment = self._upload_attachment_direct(\n content_id, file_path, filename, comment, minor_edit\n)\n```\n\nThe `validate_safe_path` function is already imported at line 9 of the same file, and used in the download methods. It was just not added to the upload path.\n\n## Proof of Concept\n\nTested with mcp-atlassian 0.21.1 on Python 3.11 (EC2, Amazon Linux 2023).\n\n```python\nimport inspect\nfrom mcp_atlassian.confluence.attachments import AttachmentsMixin\n\n# Confirm: no validate_safe_path in upload\nsource = inspect.getsource(AttachmentsMixin.upload_attachment)\nassert \"validate_safe_path\" not in source # passes\n\n# Confirm: validate_safe_path IS in downloads\nassert \"validate_safe_path\" in inspect.getsource(AttachmentsMixin.download_attachment) # passes\nassert \"validate_safe_path\" in inspect.getsource(AttachmentsMixin.download_content_attachments) # passes\n```\n\nAn MCP tool call like this reads /etc/passwd and uploads it to Confluence:\n\n```json\n{\"tool\": \"confluence_upload_attachment\", \"arguments\": {\"content_id\": \"123456\", \"file_path\": \"/etc/passwd\"}}\n```\n\n## Impact\n\nExfiltration of any file readable by the MCP server process: SSH keys, AWS credentials, .env files, /etc/passwd, application secrets. Data leaves the local machine and lands on a remote Confluence instance accessible to other users.\n\n## Suggested Fix\n\nAdd `validate_safe_path(file_path)` before the `os.path.exists()` check in `upload_attachment`, matching the existing pattern in the download methods. The function is already imported.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/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-93xw-j965-9mx3"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-77258"
}, {
"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:36:37Z",
"nvd_published_at" : "2026-09-22T18:17:18Z"
}
}