Description
MCP Atlassian is a Model Context Protocol (MCP) server for Atlassian products (Confluence and Jira). Prior to 0.22.0, validate_safe_path defaults its base directory to os.getcwd(), and affected Confluence attachment call sites omit base_dir, allowing attacker-selected writes within the working directory. This Python module overwrite can provide code execution when the application later imports the modified module, bypassing the remediation tracked as CVE-2026-27825. This issue is fixed in version 0.22.0.
Published: 2026-09-22
Score: 8.3 High
EPSS: n/a
KEV: No
Impact: Remote code execution
Action: Apply Patch
AI Analysis

Impact

MCP Atlassian implements a model context protocol for Atlassian applications. The vulnerability arises because the validate_safe_path routine defaults to using the current working directory when no base_dir is supplied. Certain attachment endpoints on Confluence and Jira call this routine without specifying a base directory, permitting an attacker to write files directly into the server's working directory. If the attacker uploads a Python module with a name that matches a module the application imports later, the malicious code is executed during import, resulting in remote code execution. The flaw is a classic path traversal (CWE-22) that leads to dynamic code injection (CWE-94).

Affected Systems

The affected product is the MCP Atlassian server (sooperset:mcp-atlassian) used by Atlassian Confluence and Jira. Versions earlier than 0.22.0 are vulnerable; the fix is included in release 0.22.0.

Risk and Exploitability

The CVSS base score is 8.3, indicating a high severity. EPSS is not available, and the vulnerability is not listed in CISA KEV. The likely attack vector is inferred to be via a web API or file upload endpoint that allows arbitrary filenames to be stored in the working directory. Successful exploitation would require the attacker to craft a request that causes the server to import the malicious module, after which arbitrary code runs with the privileges of the application. Because the flaw bypasses a previous remediation, rapid deployment of the patch is critical.

Generated by OpenCVE AI on September 22, 2026 at 19:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the MCP Atlassian server to version 0.22.0 or later.
  • Verify that the validate_safe_path base directory is set to a secure, non-writable location instead of the default current working directory.
  • Restrict or disable dynamic module imports from user-supplied files and control access to any upload or configuration endpoints that can influence module names.

Generated by OpenCVE AI on September 22, 2026 at 19:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 22 Sep 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Sooperset
Sooperset mcp-atlassian
Vendors & Products Sooperset
Sooperset mcp-atlassian

Tue, 22 Sep 2026 18:15:00 +0000

Type Values Removed Values Added
Description MCP Atlassian is a Model Context Protocol (MCP) server for Atlassian products (Confluence and Jira). Prior to 0.22.0, validate_safe_path defaults its base directory to os.getcwd(), and affected Confluence attachment call sites omit base_dir, allowing attacker-selected writes within the working directory. This Python module overwrite can provide code execution when the application later imports the modified module, bypassing the remediation tracked as CVE-2026-27825. This issue is fixed in version 0.22.0.
Title MCP Atlassian: Incomplete path traversal fix allows intra-CWD module overwrite and RCE (bypass of CVE-2026-27825)
Weaknesses CWE-22
CWE-94
References
Metrics cvssV4_0

{'score': 8.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N'}


Subscriptions

Sooperset Mcp-atlassian
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-22T18:00:33.694Z

Reserved: 2026-08-20T19:14:21.330Z

Link: CVE-2026-77271

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-22T18:17:19.107

Modified: 2026-09-22T18:17:19.107

Link: CVE-2026-77271

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T20:00:11Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')