CVE-2026-77271: mcp-atlassian Incomplete Path Traversal Fix Leading to RCE

mcp-atlassian Updated 23 Sep 2026

Summary

22/09/2026
Yes i
High
8.3

CVE-2026-77271: The path traversal fix introduced in v0.17.0 (GHSA-xjgw-4wvw-rgm4) is incomplete. Affects mcp-atlassian versions < 0.22.0. Fixed in 0.22.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

mcp-atlassian is a Python package designed for interacting with Atlassian products, such as Confluence. It provides utilities for managing attachments and other resources within these applications. The package is widely used in environments where automation and integration with Atlassian tools are required. However, it has been found to have a critical vulnerability that allows for remote code execution due to an incomplete fix for path traversal issues.

Vulnerability Detail

The vulnerability arises from the incomplete path traversal fix implemented in version 0.17.0 of the mcp-atlassian package. The function validate_safe_path() defaults to the current working directory (CWD) when no base directory is specified, allowing attackers to overwrite Python source modules within the application directory. This oversight can lead to remote code execution (RCE) when the application is restarted, as the malicious payload can be executed. The vulnerability affects versions 0.17.0 through 0.21.0, with a CVSS score of 8.3, indicating a high severity.

How To Fix

Latest published version: 0.23.1 as of 23 Oct 2026

pip install --upgrade "mcp-atlassian==0.23.1"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.22.0

This is the first release that contains the fix.

pip install --upgrade "mcp-atlassian==0.22.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can modify the code where validate_safe_path() is called to include a specific base directory instead of relying on the current working directory. For example:

_DOWNLOAD_BASE = Path(
    os.environ.get("MCP_DOWNLOAD_DIR", "/tmp/mcp-downloads")
).resolve()

validate_safe_path(target_path, base_dir=_DOWNLOAD_BASE)

Conclusion

The mcp-atlassian package has a critical vulnerability (CVE-2026-77271) that allows for remote code execution due to an incomplete path traversal fix. Users are advised to update to version 0.22.0 or later to secure their applications. For immediate mitigation, a workaround is available to specify a base directory in the code.

See every vulnerability recorded for mcp-atlassian →

Share this vulnerability

FAQ

CVE-2026-77271 is a vulnerability in the mcp-atlassian package that allows for remote code execution due to an incomplete path traversal fix.

Versions 0.17.0 through 0.21.0 of the mcp-atlassian package are affected by this vulnerability.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring signup.

The CVSS score of this vulnerability is 8.3, indicating a high severity level.

If you cannot update the package immediately, implement the provided workaround to specify a base directory for the validate_safe_path() function to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for mcp-atlassian.

How To Fix

Latest published version: 0.23.1 as of 23 Oct 2026

pip install --upgrade "mcp-atlassian==0.23.1"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.22.0

This is the first release that contains the fix.

pip install --upgrade "mcp-atlassian==0.22.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback